]> diplodocus.org Git - flac-archive/commitdiff
fix for flacs with no embedded art
author <epg@pretzelnet.org> <>
Sun, 8 Dec 2013 20:56:15 +0000 (12:56 -0800)
committer <epg@pretzelnet.org> <>
Sun, 8 Dec 2013 20:56:15 +0000 (12:56 -0800)
submitted an untested fix way back in Thu 2012-11-01 15:52:39 -0700
and only just now tested (and fixed) it; oops

flac2mp3

index e3dbc72..24e4a48 100755 (executable)
--- a/flac2mp3
+++ b/flac2mp3
@@ -110,7 +110,7 @@ def flac2mp3(fn, title, artist, album_artist, album, discnum, date,
     if check_missing:
         return quoted_outfile.replace(r"'\''", "'")
 
-    pic_options = None
+    pic_options = ''
     if pics:
         (fd, picfn) = tempfile.mkstemp()
         f = os.fdopen(fd, 'wb')