mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
change order of trimSong() for efficiency
This commit is contained in:
@@ -93,7 +93,6 @@ def checkExists(islist):
|
||||
os.remove("Music/" + title + extension)
|
||||
return False
|
||||
if islist:
|
||||
trimSong()
|
||||
return True
|
||||
else:
|
||||
prompt = raw_input('Song with same name has already been downloaded. Re-download? (y/n/play): ')
|
||||
@@ -232,9 +231,7 @@ while True:
|
||||
convertSong()
|
||||
if isSpotify():
|
||||
fixSong()
|
||||
trimSong()
|
||||
else:
|
||||
trimSong()
|
||||
trimSong()
|
||||
except KeyboardInterrupt:
|
||||
graceQuit()
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user