We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c5937 commit ed1a3d8Copy full SHA for ed1a3d8
1 file changed
user/import_tokens.py
@@ -42,8 +42,7 @@ def init_api():
42
garmin = Garmin(email, password, is_cn=tokens_is_cn, prompt_mfa=get_mfa)
43
garmin.login(token_file)
44
print(f"{ts()} * OAuth tokens saved correctly: {token_file}")
45
- except (
46
- FileNotFoundError, GarminConnectAuthenticationError, GarminConnectConnectionError, GarminConnectTooManyRequestsError) as err:
+ except (FileNotFoundError, GarminConnectAuthenticationError, GarminConnectConnectionError, GarminConnectTooManyRequestsError) as err:
47
print(f"{ts()} * ERROR: {err}")
48
return None
49
0 commit comments