0Learn commited on
Commit
7b73282
·
verified ·
1 Parent(s): 6f4b132

Update google_sheets_utils.py

Browse files
Files changed (1) hide show
  1. google_sheets_utils.py +1 -1
google_sheets_utils.py CHANGED
@@ -46,7 +46,7 @@ def get_credentials():
46
  return None
47
 
48
  try:
49
- creds_file = json.loads(creds_json)
50
  return Credentials.from_service_account_info(creds_dict, scopes=SCOPES)
51
  except Exception as e:
52
  logging.error("Error creating credentials: %s", str(e))
 
46
  return None
47
 
48
  try:
49
+ creds_dict = json.loads(creds_json)
50
  return Credentials.from_service_account_info(creds_dict, scopes=SCOPES)
51
  except Exception as e:
52
  logging.error("Error creating credentials: %s", str(e))