From c7db93b17a2feae5281e4f92fcfaa883d022cb02 Mon Sep 17 00:00:00 2001 From: epg <> Date: Thu, 12 Oct 2006 22:45:24 +0000 Subject: [PATCH] (flacloop): Don't flip out in multi-file mode if 'cue' doesn't exist. --- fa-flacd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.56.0