Skip to content

Commit 93b134c

Browse files
committed
[Fix] modulesNamesList error #75
1 parent 74aa376 commit 93b134c

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
@@ -455,7 +455,7 @@ def __init__(self, authData, home=None, station=None):
455455
def modulesNamesList(self, station=None, home=None):
456456
res = [m['module_name'] for m in self.modules.values()]
457457
station = self.stationByName(station) or self.stationById(station)
458-
res.append(self.stationByName(station)['module_name'])
458+
res.append(station['module_name'])
459459
return res
460460

461461
# 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.0.0',
7+
version='4.0.1',
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.0.0.tar.gz',
20+
download_url='https://github.com/philippelt/netatmo-api-python/archive/v4.0.1.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)