correct condition in y/n question

This commit is contained in:
localhost_frssoft 2023-07-11 01:30:21 +03:00
parent eaf293e519
commit 3310b56843

View file

@ -51,7 +51,7 @@ def list_tracks(pg=None, search=None, tag=None, library=None):
elif select == 'Play all pages': elif select == 'Play all pages':
if tracks_count > 1000: if tracks_count > 1000:
yn = input('WARNING: you really want add more than 1000 tracks? (y/[n])\n').lower() yn = input('WARNING: you really want add more than 1000 tracks? (y/[n])\n').lower()
if yn in ('', 'n'): if yn != 'y':
return return
count_loaded = 0 count_loaded = 0
while tracks_count > count_loaded: while tracks_count > count_loaded: