From 0a3b2cd443e62169a7130ed8996848a704948bf3 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Thu, 4 Apr 2019 11:26:22 +1300 Subject: [PATCH] Prevent appending of empty files list --- core/transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/transcoder.py b/core/transcoder.py index 213e73fb..48101457 100644 --- a/core/transcoder.py +++ b/core/transcoder.py @@ -710,7 +710,7 @@ def rip_iso(item, new_dir, bitbucket): name=os.path.splitext(os.path.split(item)[1])[0], x=n ) new_files.append({item: {'name': name, 'files': concat}}) - if core.CONCAT: + if core.CONCAT and combined: name = os.path.splitext(os.path.split(item)[1])[0] new_files.append({item: {'name': name, 'files': combined}}) if not new_files: