fixed pylint warning

This commit is contained in:
Per Sandstrom 2015-08-12 13:32:15 +02:00
parent 1b59859681
commit f20be1e7f8

View File

@ -85,5 +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', ex)
_LOGGER.error('Caught connection error %s, tries to reconnect', ex)
MY_PAGES.login()