Use throwaray variable name

This commit is contained in:
Jack Minardi 2017-04-30 21:02:03 -04:00
parent 8bf1c21738
commit b6827ce57a

View File

@ -196,7 +196,7 @@ class Tplink3DeviceScanner(TplinkDeviceScanner):
self.sysauth = regex_result.group(1)
_LOGGER.info(self.sysauth)
return True
except (ValueError, KeyError) as e:
except (ValueError, KeyError) as _:
_LOGGER.error("Couldn't fetch auth tokens!"
" Response was: {}".format(response.text))
return False