Browse Source

Rename script

main
fluffy 8 months ago
parent
commit
cdfaf269f2
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      update.sh
  2. +1
    -0
      zenius.py

+ 1
- 1
update.sh View File

@@ -2,7 +2,7 @@

cd "$(dirname $0)"
poetry install
poetry run python3 leech.py "$@"
poetry run python3 zenius.py "$@"

cd songs
rsync --progress -ave ssh . hegemony.local:/Applications/Stepmania/Songs/

leech.py → zenius.py View File

@@ -63,6 +63,7 @@ def mirror(cat_url, args):
if not os.path.isfile(filename):
print(f'Downloading {url} -> {filename}')
try:
os.makedirs('zips', exist_ok=True)
urlretrieve(url, filename)
except KeyboardInterrupt as e:
print(f'Download aborting...')

Loading…
Cancel
Save