Skip to content

Commit

Permalink
Merge pull request #85 from Nasus20202/fix-bulk-downloads
Browse files Browse the repository at this point in the history
fix: bulk download wait
  • Loading branch information
zotify-dev authored Jul 29, 2024
2 parents fa2156b + 1aa74e0 commit dac973a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zotify/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def download_track(mode: str, track_id: str, extra_keys=None, disable_progressba
if not check_id:
add_to_directory_song_ids(filedir, scraped_song_id, PurePath(filename).name, artists[0], name)

if not Zotify.CONFIG.get_bulk_wait_time():
if Zotify.CONFIG.get_bulk_wait_time():
time.sleep(Zotify.CONFIG.get_bulk_wait_time())
except Exception as e:
Printer.print(PrintChannel.ERRORS, '### SKIPPING: ' + song_name + ' (GENERAL DOWNLOAD ERROR) ###')
Expand Down

0 comments on commit dac973a

Please sign in to comment.