NvkAnirudh commited on
Commit
5cd9947
·
verified ·
1 Parent(s): 0ee69bb

Update src/google_docs_api_processing.py

Browse files
Files changed (1) hide show
  1. src/google_docs_api_processing.py +1 -1
src/google_docs_api_processing.py CHANGED
@@ -23,7 +23,7 @@ def google_docs_auth():
23
  flow = InstalledAppFlow.from_client_secrets_file(
24
  'credentials.json', SCOPES
25
  )
26
- creds = flow.run_local_server(port=8502)
27
  # Save the credentials for the next run
28
  with open('token.json', 'w') as token:
29
  token.write(creds.to_json())
 
23
  flow = InstalledAppFlow.from_client_secrets_file(
24
  'credentials.json', SCOPES
25
  )
26
+ creds = flow.run_local_server(port=0)
27
  # Save the credentials for the next run
28
  with open('token.json', 'w') as token:
29
  token.write(creds.to_json())