mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Update oauth.py
This commit is contained in:
@@ -637,8 +637,8 @@ class _ShortURLFlow(google_auth_oauthlib.flow.InstalledAppFlow):
|
|||||||
code = parsed_params.get('code', [None])[0]
|
code = parsed_params.get('code', [None])[0]
|
||||||
try:
|
try:
|
||||||
fetch_args = {'code': code}
|
fetch_args = {'code': code}
|
||||||
if GC_Values.get('GC_CA_FILE'):
|
if GC_Values.get(GC_CA_FILE):
|
||||||
fetch_args['verify'] = GC_Values.get('GC_CA_FILE')
|
fetch_args['verify'] = GC_Values.get(GC_CA_FILE)
|
||||||
self.fetch_token(**fetch_args)
|
self.fetch_token(**fetch_args)
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user