Skip to content

Commit

Permalink
Corrected instant closing
Browse files Browse the repository at this point in the history
Added two input to avoid instant closing when download was completed
  • Loading branch information
OwOchle authored Mar 7, 2021
1 parent b2c1bb3 commit bec5f05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plDownloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@ def pldownload(maps, playlists, pldl, PLpath, CMpath):
download_beatmap(item['hash'], CMpath)
ndl += 1
print(f'\n\nPlaylist {title} downloaded')
input('Press Enter to close')

else:
print('\n\nAll songs are already downloaded')
input('Press Enter to close')

0 comments on commit bec5f05

Please sign in to comment.