Fix cantaloupe export subprocess cwd #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
subprocess.run in cantaloupe_sync.py used cwd=admin_server_dir. The cantaloupe module lives at ~/projects/cantaloupe-downloader/ and could not be imported.
Fix (
e9d18cb)Changed cwd to ~/projects/cantaloupe-downloader. Also added scripts/cantaloupe-sync.sh for the 6h cron.
Related