From 2e0c280ea680c378c9504223a74188018701b4d5 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Mon, 29 Aug 2022 17:02:41 -0400 Subject: [PATCH] Update oauth.py --- src/gam/auth/oauth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gam/auth/oauth.py b/src/gam/auth/oauth.py index 2b021197..a7add74a 100644 --- a/src/gam/auth/oauth.py +++ b/src/gam/auth/oauth.py @@ -637,8 +637,8 @@ class _ShortURLFlow(google_auth_oauthlib.flow.InstalledAppFlow): code = parsed_params.get('code', [None])[0] try: fetch_args = {'code': code} - if GC_Values.get('GC_CA_FILE'): - fetch_args['verify'] = GC_Values.get('GC_CA_FILE') + if GC_Values.get(GC_CA_FILE): + fetch_args['verify'] = GC_Values.get(GC_CA_FILE) self.fetch_token(**fetch_args) break except Exception as e: