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 fadfc4b commit fe28bf3Copy full SHA for fe28bf3
zulip/integrations/google/get-google-credentials
@@ -63,6 +63,7 @@ def get_credentials(
63
creds = flow.credentials
64
else:
65
creds = flow.run_local_server(port=0)
66
- with open(tokens_path, "w") as token:
67
- token.write(creds.to_json())
+ with open(tokens_path, "w") as token_file:
+ token_file.write(creds.to_json())
68
+ logging.info("Saved tokens to %s", tokens_path)
69
return creds
0 commit comments