hzulla / tolino-python

Access to tolino cloud with Python 3
GNU Lesser General Public License v2.1
78 stars 35 forks source link

devices results in KeyError: 20 #3

Closed michote closed 9 years ago

michote commented 9 years ago
$ python3 tolinoclient.py devices
4 devices connected to tolino cloud account *****

device    : *******
type      : tolino_vision_2
name      : None
Traceback (most recent call last):
  File "tolinoclient.py", line 153, in <module>
    args.func(args)
  File "tolinoclient.py", line 54, in devices
    print('partner   : {} / {}'.format(d['partner'], TolinoCloud.partner_mapping[d['partner']]))
KeyError: 20 
hzulla commented 9 years ago

Thanks. Will fix that.

hzulla commented 9 years ago

Should be fixed with https://github.com/hzulla/tolino-python/commit/70a96880aa302e92507d89f8cbe60e78b0d69683

Please give it a try.

michote commented 9 years ago

works fine now, thanks.

hzulla commented 9 years ago

thanks!