From 0caafbb2f0c0689cdf5efd992c2bfe140e32e073 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Tue, 23 Aug 2022 16:03:03 +0200 Subject: [PATCH] Allow transcoding when .log file exists --- transcoder/transcode_dvd.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/transcoder/transcode_dvd.py b/transcoder/transcode_dvd.py index 05c5eef..1b3eda7 100755 --- a/transcoder/transcode_dvd.py +++ b/transcoder/transcode_dvd.py @@ -67,11 +67,7 @@ def list_ripped_dvds(dvd_type): def is_dvd_files_not_locked(dvd): - return ( - not os.path.exists(dvd + ".lock") - and not os.path.exists(dvd + ".err.log") - and not os.path.exists(dvd + ".log") - ) + return not os.path.exists(dvd + ".lock") and not os.path.exists(dvd + ".err.log") def transcode_ripped_dvd(ripped_dvd, dvd_type):