Skip to content

Commit

Permalink
move progress message after the download
Browse files Browse the repository at this point in the history
  • Loading branch information
devlocalhost committed Apr 24, 2024
1 parent f259e6b commit 2b16b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ def download_playlist_or_album(self, link):
total_tracks = len(tracks)

for count, track in enumerate(tracks):
print(f"[download_playlist_or_album] Progress: {count + 1}/{total_tracks}")

self.download_track(track)

print(f"[download_playlist_or_album] Progress: {count + 1}/{total_tracks}")

def download_track(self, url):
"""
download an track
Expand Down

0 comments on commit 2b16b47

Please sign in to comment.