Skip to content

Commit ed1a3d8

Browse files
3.7
1 parent c1c5937 commit ed1a3d8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

user/import_tokens.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ def init_api():
4242
garmin = Garmin(email, password, is_cn=tokens_is_cn, prompt_mfa=get_mfa)
4343
garmin.login(token_file)
4444
print(f"{ts()} * OAuth tokens saved correctly: {token_file}")
45-
except (
46-
FileNotFoundError, GarminConnectAuthenticationError, GarminConnectConnectionError, GarminConnectTooManyRequestsError) as err:
45+
except (FileNotFoundError, GarminConnectAuthenticationError, GarminConnectConnectionError, GarminConnectTooManyRequestsError) as err:
4746
print(f"{ts()} * ERROR: {err}")
4847
return None
4948

0 commit comments

Comments
 (0)