diff options
Diffstat (limited to 'musictomp3')
-rwxr-xr-x | musictomp3 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -190,7 +190,8 @@ class MusicToMp3(object): return filename.endswith('.flac') def needs_copying(self, filename): - return filename.endswith('.mp3') + dummy, ext = os.path.splitext(filename) + return ext.lower() in ['.mp3', '.m4a'] def run(self): logging.basicConfig(filename='musictomp3.log', level=logging.DEBUG) |