Skip to content

Commit

Permalink
fix file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
cullenwatson committed Aug 28, 2023
1 parent f81da7c commit 639f45a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion api/core/formatters/csv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def upload_to_google_sheet(csv_data: str):
"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)
Expand Down
1 change: 0 additions & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

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
Expand Down

0 comments on commit 639f45a

Please sign in to comment.