Skip to content

Commit

Permalink
release 0.28
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwall committed Mar 15, 2017
1 parent 8fb3d5f commit 7a8f1ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion bin/user/interceptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
import weeutil.weeutil

DRIVER_NAME = 'Interceptor'
DRIVER_VERSION = '0.28rc1'
DRIVER_VERSION = '0.28'

DEFAULT_ADDR = ''
DEFAULT_PORT = 80
Expand Down Expand Up @@ -744,6 +744,7 @@ def parse_wu(self, s):
if 'rainfall' in pkt:
rain_total = pkt['rainfall']
pkt['rainfall'] = self._delta_rain(rain_total, self._last_rain)
pkt['rain_total'] = rain_total
self._last_rain = rain_total
return self.add_identifiers(pkt)

Expand Down Expand Up @@ -1982,6 +1983,10 @@ def genLoopPackets(self):

(options, args) = parser.parse_args()

if options.version:
print "driver version is %s" % DRIVER_VERSION
exit(0)

debug = False
if options.debug:
syslog.setlogmask(syslog.LOG_UPTO(syslog.LOG_DEBUG))
Expand Down
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def loader():
class InterceptorInstaller(ExtensionInstaller):
def __init__(self):
super(InterceptorInstaller, self).__init__(
version="0.28rc1",
version="0.28",
name='interceptor',
description='Capture weather data from HTTP requests',
author="Matthew Wall",
Expand Down

0 comments on commit 7a8f1ed

Please sign in to comment.