mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
removed unused variable
This commit is contained in:
@@ -68,7 +68,6 @@ def checkExists(islist):
|
|||||||
prompt = raw_input('Song with same name has already been downloaded.. re-download? (y/n/play): ')
|
prompt = raw_input('Song with same name has already been downloaded.. re-download? (y/n/play): ')
|
||||||
if prompt == "y":
|
if prompt == "y":
|
||||||
os.remove("Music/" + title + ".mp3")
|
os.remove("Music/" + title + ".mp3")
|
||||||
download = 1
|
|
||||||
elif prompt =="play":
|
elif prompt =="play":
|
||||||
if not os.name == 'nt':
|
if not os.name == 'nt':
|
||||||
os.system('mplayer "' + 'Music/' + title + '.mp3"')
|
os.system('mplayer "' + 'Music/' + title + '.mp3"')
|
||||||
|
|||||||
Reference in New Issue
Block a user