From: epg <> Date: Thu, 12 Oct 2006 22:45:24 +0000 (+0000) Subject: (flacloop): Don't flip out in multi-file mode if 'cue' doesn't exist. X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/c7db93b17a2feae5281e4f92fcfaa883d022cb02?hp=d6b74a96802147270fbfa4f16cb10656d8143f11 (flacloop): Don't flip out in multi-file mode if 'cue' doesn't exist. --- diff --git a/fa-flacd b/fa-flacd index 2873a41..59b09c4 100755 --- a/fa-flacd +++ b/fa-flacd @@ -255,7 +255,11 @@ def flacloop(maxjobs): else: # multi-file # Don't need cue file. - c(os.unlink, dir[0] + '/cue') + try: + c(os.unlink, dir[0] + '/cue') + except EnvironmentError, error: + if error.errno != ENOENT: + raise error # Go over @tags, store all [n] tags in a list keyed by # n in %tracks_to_tags, store all ARTIST (not