Spaces:
Running
Running
Update app_job_copy_1.py
Browse files- app_job_copy_1.py +1 -1
app_job_copy_1.py
CHANGED
@@ -303,7 +303,7 @@ def main():
|
|
303 |
|
304 |
# Show API key warning if not set
|
305 |
secret_content = os.getenv("GCP_SERVICE_ACCOUNT")
|
306 |
-
secret_content = secret_content.replace("\n", "\\n")
|
307 |
secret_content = json.loads(secret_content)
|
308 |
SCOPES = ['https://www.googleapis.com/auth/spreadsheets']
|
309 |
creds = service_account.Credentials.from_service_account_info(secret_content, scopes=SCOPES)
|
|
|
303 |
|
304 |
# Show API key warning if not set
|
305 |
secret_content = os.getenv("GCP_SERVICE_ACCOUNT")
|
306 |
+
# secret_content = secret_content.replace("\n", "\\n")
|
307 |
secret_content = json.loads(secret_content)
|
308 |
SCOPES = ['https://www.googleapis.com/auth/spreadsheets']
|
309 |
creds = service_account.Credentials.from_service_account_info(secret_content, scopes=SCOPES)
|