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
1 changed files with 1 additions and 1 deletions

View File

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