elementapi 0.9__tar.gz → 0.9.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: elementapi
3
- Version: 0.9
3
+ Version: 0.9.1
4
4
  Summary: element-iot api client lib
5
5
  Home-page: https://github.com/ZennerIoT/python-elementapi
6
6
  Download-URL: https://github.com/ZennerIoT/python-elementapi/archive/master.zip
@@ -130,7 +130,7 @@ class ElementAPI:
130
130
 
131
131
  mandates = resp.json()
132
132
  parent = None
133
- is_multi = len(mandates)==1
133
+ is_multi = len(mandates)>1
134
134
 
135
135
  if is_multi:
136
136
  for m in mandates:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: elementapi
3
- Version: 0.9
3
+ Version: 0.9.1
4
4
  Summary: element-iot api client lib
5
5
  Home-page: https://github.com/ZennerIoT/python-elementapi
6
6
  Download-URL: https://github.com/ZennerIoT/python-elementapi/archive/master.zip
@@ -3,7 +3,7 @@ from setuptools import setup
3
3
  setup(
4
4
  name='elementapi',
5
5
  packages=['elementapi'],
6
- version='0.9',
6
+ version='0.9.1',
7
7
  description='element-iot api client lib',
8
8
  author='Stefan Reiser',
9
9
  author_email='sr@zenner-iot.com',
File without changes