Skip to content

Commit

Permalink
Bug fix in modulesNamesList (see #86 issue discussion)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippelt committed Oct 9, 2024
1 parent cf5fc26 commit fa8700b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lnetatmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def modulesNamesList(self, station=None):
for m in self.default_station_data['modules']:
self.modules[ m['_id'] ] = m
res = [m['module_name'] for m in self.modules.values()]
res.append(station['module_name'])
res.append(s['module_name'])
return res

# Both functions (byName and byStation) are here for historical reason,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

0 comments on commit fa8700b

Please sign in to comment.