mirror of https://github.com/afkcodes/zspotify.git
Fix infinite loop
This commit is contained in:
parent
a3e27d4f2a
commit
85344f573c
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue