Azelphur / pyPushBullet

Python library to interface with PushBullet
GNU General Public License v3.0
180 stars 48 forks source link

getdevices assumes manufacturer is set #19

Closed jinnatar closed 9 years ago

jinnatar commented 9 years ago

Sample output;

motorola Nexus 6 LGE Nexus 5 htc Nexus 9 Google Chrome asus Nexus 7 Traceback (most recent call last): File "./pushbullet_cmd.py", line 149, in args.func(args) File "./pushbullet_cmd.py", line 38, in getDevices device["manufacturer"], KeyError: 'manufacturer' Manufacturer is not a mandatory field for custom API clients and shouldn't be assumed to be set.
Azelphur commented 9 years ago

Thanks, fixed :)