Hi there! The README says the Google service account credentials should be placed at ~/.config/gspread/service_account.json, which is where gspread looks by default. However, line 17 of auto_auto_archive.py specifies a credentials file in the same directory as the script, so the script won't run unless you drop service_account.json in the same directory.
So it seems that either auto_auto_archive.py should be changed to call gspread.service_account without a filename parameter; or the README should be changed to specify that service_account.json be created in the application root. If you have a preference, I can open a pull request and change it either way.
Hi there! The README says the Google service account credentials should be placed at
~/.config/gspread/service_account.json
, which is where gspread looks by default. However, line 17 ofauto_auto_archive.py
specifies a credentials file in the same directory as the script, so the script won't run unless you dropservice_account.json
in the same directory.So it seems that either
auto_auto_archive.py
should be changed to callgspread.service_account
without a filename parameter; or the README should be changed to specify thatservice_account.json
be created in the application root. If you have a preference, I can open a pull request and change it either way.