Fix infinite loop

This commit is contained in:
davidsalido 2021-10-24 17:11:01 +00:00 committed by GitHub
parent a3e27d4f2a
commit 85344f573c
1 changed files with 40 additions and 42 deletions

View File

@ -27,7 +27,6 @@ def client() -> None:
print('[ DETECTED FREE ACCOUNT - USING HIGH QUALITY ]\n\n')
ZSpotify.DOWNLOAD_QUALITY = AudioQuality.HIGH
while True:
if len(sys.argv) > 1:
if sys.argv[1] == '-p' or sys.argv[1] == '--playlist':
download_from_user_playlist()
@ -86,7 +85,6 @@ def client() -> None:
download_episode(episode)
else:
search(search_text)
# wait()
def search(search_term):