From: Date: Mon, 9 Dec 2013 00:28:16 +0000 (-0800) Subject: oops, always need to remove picfn now X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/74237233361b87b6b6c88e9f62e58936e60c1a3c?ds=sidebyside oops, always need to remove picfn now --- diff --git a/flac2mp3 b/flac2mp3 index aa00fff..239739e 100755 --- 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