fixed pylint warning

This commit is contained in:
Per Sandstrom 2015-08-12 13:28:22 +02:00
parent c7ca6e4784
commit 1b59859681

View File

@ -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()