From cbfc05420387ff5335dbf0504f5d42f9f9a8262a Mon Sep 17 00:00:00 2001 From: Logan Williams Date: Tue, 1 Jun 2021 11:05:13 +0200 Subject: [PATCH] Use service_account.json --- auto_archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_archive.py b/auto_archive.py index ed5c8cd..bb2cc1a 100644 --- a/auto_archive.py +++ b/auto_archive.py @@ -291,7 +291,7 @@ def record_stream(url, s3_client, wks, i, columns, v): def process_sheet(sheet): - gc = gspread.service_account() + gc = gspread.service_account(filename='service_account.json') sh = gc.open(sheet) n_worksheets = len(sh.worksheets())