diff --git a/bin/user/netatmo.py b/bin/user/netatmo.py index 6b69a6e..ac849fc 100644 --- a/bin/user/netatmo.py +++ b/bin/user/netatmo.py @@ -42,7 +42,7 @@ import weewx.units import weewx.wxformulas DRIVER_NAME = 'netatmo' -DRIVER_VERSION = "0.8" +DRIVER_VERSION = "0.9" INHG_PER_MBAR = 0.0295299830714 MPH_TO_KPH = 1.60934 @@ -522,7 +522,7 @@ class CloudClient(Collector): url = CloudClient.NETATMO_URL + url params = urlencode(params) headers = { - "Content-Type": "application/x-www-form-urlencoded;charset=urf-8"} + "Content-Type": "application/x-www-form-urlencoded;charset=utf-8"} logdbg("url: %s data: %s hdr: %s" % (url, params, headers)) req = urllib2.Request(url=url, data=params, headers=headers) resp = urllib2.urlopen(req).read(65535) diff --git a/changelog b/changelog index fbb777f..84f0967 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,6 @@ +0.9 28mar2017 +* fixed urf-8 typo + 0.8 22jan2017 * user-specified map augments the default instead of replacing it diff --git a/install.py b/install.py index 4bd05f3..f9b502e 100644 --- a/install.py +++ b/install.py @@ -10,7 +10,7 @@ def loader(): class NetatmoInstaller(ExtensionInstaller): def __init__(self): super(NetatmoInstaller, self).__init__( - version="0.8", + version="0.9", name='netatmo', description='Driver for netatmo weather stations.', author="Matthew Wall",