richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

Fix edit_device method to keep nickname #58

Closed simonporter007 closed 8 years ago

simonporter007 commented 8 years ago

Editing a device using the edit_device() method without a nickname given would result in the nickname being deleted from the device. This is due to the default nickname=None value. This also then causes a 'tuple index out of range' error if the device list is called upon using pb.devices.

r-darwish commented 8 years ago

I uploaded version 0.9.1 which contains your fix