Use throwaray variable name
This commit is contained in:
1 parent
8bf1c21738
commit
b6827ce57a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user