fixed pylint warning
parent
c7ca6e4784
commit
1b59859681
|
@ -85,6 +85,5 @@ def update():
|
|||
for overview in MY_PAGES.get_overview(MY_PAGES.DEVICE_SMARTPLUG):
|
||||
STATUS[MY_PAGES.DEVICE_SMARTPLUG][overview.id] = overview
|
||||
except ConnectionError as ex:
|
||||
_LOGGER.error('Caught connection error {}, tries to reconnect'.format(
|
||||
ex))
|
||||
_LOGGER.error('Caught connection error %, tries to reconnect', ex)
|
||||
MY_PAGES.login()
|
||||
|
|
Loading…
Reference in New Issue