]> diplodocus.org Git - flac-archive/commitdiff
oops, always need to remove picfn now
author <epg@pretzelnet.org> <>
Mon, 9 Dec 2013 00:28:16 +0000 (16:28 -0800)
committer <epg@pretzelnet.org> <>
Mon, 9 Dec 2013 00:28:16 +0000 (16:28 -0800)
flac2mp3

index aa00fff..239739e 100755 (executable)
--- a/flac2mp3
+++ b/flac2mp3
@@ -132,11 +132,10 @@ def flac2mp3(fn, title, artist, album_artist, album, discnum, date,
                       pic_options, album_artist_options,
                       discnum_options, quoted_outfile))
     finally:
-        if pic:
-            try:
-                os.unlink(picfn)
-            except:
-                pass
+        try:
+            os.unlink(picfn)
+        except:
+            pass
 
     return 0