mirror of https://github.com/Bunsly/JobSpy
fix file not found
parent
f81da7ced4
commit
639f45a48a
|
@ -20,7 +20,7 @@ class CSVFormatter:
|
|||
"https://www.googleapis.com/auth/drive",
|
||||
]
|
||||
credentials = ServiceAccountCredentials.from_json_keyfile_name(
|
||||
GSHEET_JSON_KEY_PATH, scope
|
||||
"/app/client_secret.json", scope
|
||||
)
|
||||
gc = gspread.authorize(credentials)
|
||||
sh = gc.open(GSHEET_NAME)
|
||||
|
|
|
@ -3,7 +3,6 @@ import os
|
|||
|
||||
load_dotenv()
|
||||
# gsheets (template to copy at https://docs.google.com/spreadsheets/d/1mOgb-ZGZy_YIhnW9OCqIVvkFwiKFvhMBjNcbakW7BLo/edit?usp=sharing)
|
||||
GSHEET_JSON_KEY_PATH = "client_secret.json"
|
||||
GSHEET_NAME = os.environ.get("GSHEET_NAME", "JobSpy")
|
||||
|
||||
# optional autha
|
||||
|
|
Loading…
Reference in New Issue