Merge pull request #100 from davidsalido/main

Fix infinite loop
This commit is contained in:
Footsiefat 2021-10-25 08:59:02 +13:00 committed by GitHub
commit d40dbc93ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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):