From eb3936edc97d0ed1098ab24a0a01224cea1158e6 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 4 Mar 2020 04:25:15 -0600 Subject: [PATCH] Fix looking for a garbage filext --- badwitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badwitch.py b/badwitch.py index 0c000cc..0c64702 100755 --- a/badwitch.py +++ b/badwitch.py @@ -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