Skip to content

Commit fa8700b

Browse files
committed
Bug fix in modulesNamesList (see #86 issue discussion)
1 parent cf5fc26 commit fa8700b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lnetatmo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def modulesNamesList(self, station=None):
464464
for m in self.default_station_data['modules']:
465465
self.modules[ m['_id'] ] = m
466466
res = [m['module_name'] for m in self.modules.values()]
467-
res.append(station['module_name'])
467+
res.append(s['module_name'])
468468
return res
469469

470470
# Both functions (byName and byStation) are here for historical reason,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='lnetatmo',
7-
version='4.1.1',
7+
version='4.1.2',
88
classifiers=[
99
'Development Status :: 5 - Production/Stable',
1010
'Intended Audience :: Developers',
@@ -17,7 +17,7 @@
1717
scripts=[],
1818
data_files=[],
1919
url='https://github.com/philippelt/netatmo-api-python',
20-
download_url='https://github.com/philippelt/netatmo-api-python/archive/v4.1.1.tar.gz',
20+
download_url='https://github.com/philippelt/netatmo-api-python/archive/v4.1.2.tar.gz',
2121
license='GPL V3',
2222
description='Simple API to access Netatmo weather station data from any python script.'
2323
)

0 commit comments

Comments
 (0)