Only look for this rip's log file in output directory
Signed-off-by: Katharina Dröge <kate@commandmc.de>
This commit is contained in:
@@ -378,8 +378,8 @@ Log files will log the path to tracks relative to this directory.
|
||||
self.program.metadata)
|
||||
dirname = os.path.dirname(discName)
|
||||
if os.path.exists(dirname):
|
||||
logs = glob.glob(os.path.join(glob.escape(dirname), '*.log'))
|
||||
if logs:
|
||||
log_file = discName + '.log'
|
||||
if os.path.exists(log_file):
|
||||
msg = ("output directory %s is a finished rip" % dirname)
|
||||
logger.debug(msg)
|
||||
raise RuntimeError(msg)
|
||||
|
||||
Reference in New Issue
Block a user