lucien2k / sonoff-python

Make use of your sonoff smart switches without flashing them via the cloud APIs
MIT License
51 stars 32 forks source link

Bugfix in 'do_reconnect' method #8

Closed xdml closed 4 years ago

xdml commented 5 years ago

In 'do_reconnect' method there is a bug. If 'self.set_wshost()' or 'self.update_devices()' raise exception, the except statement should call 'self.do_login()' instead 'do_login()'.

lucien2k commented 4 years ago

Fixed in another one