forked from peter/volvo2mqtt
Fix typo
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ def authorize(renew_tokenfile=False):
|
|||||||
refresh_token = data["refresh_token"]
|
refresh_token = data["refresh_token"]
|
||||||
refresh_auth()
|
refresh_auth()
|
||||||
except ValueError:
|
except ValueError:
|
||||||
logging.warning("Dected corrupted token file, restarting auth process")
|
logging.warning("Detected corrupted token file, restarting auth process")
|
||||||
authorize(True)
|
authorize(True)
|
||||||
else:
|
else:
|
||||||
logging.info("Starting login with OTP")
|
logging.info("Starting login with OTP")
|
||||||
|
|||||||
Reference in New Issue
Block a user