Use service_account.json

This commit is contained in:
Logan Williams
2021-06-01 11:05:13 +02:00
parent a65b0eb6e9
commit cbfc054203

View File

@@ -291,7 +291,7 @@ def record_stream(url, s3_client, wks, i, columns, v):
def process_sheet(sheet): def process_sheet(sheet):
gc = gspread.service_account() gc = gspread.service_account(filename='service_account.json')
sh = gc.open(sheet) sh = gc.open(sheet)
n_worksheets = len(sh.worksheets()) n_worksheets = len(sh.worksheets())