Fix looking for a garbage filext

This commit is contained in:
Salt 2020-03-04 04:25:15 -06:00
parent 20d62e8dc8
commit eb3936edc9

View File

@ -69,7 +69,7 @@ class Library:
destfile = str(destpath / song) + '.%(ext)s'
logging.debug('Saving to: ' + destfile)
# See if we already have it
if Path(destfile).exists():
if Path(str(destpath / song) + '.mp3').exists():
logging.info('Already have song: ' + song)
continue
# Download the song