From a19a28fb606be8802bd55337653bb1779b88de67 Mon Sep 17 00:00:00 2001 From: wolfy Date: Thu, 14 Apr 2022 12:40:29 -0500 Subject: [PATCH] fixing code smells --- arm/ripper/makemkv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm/ripper/makemkv.py b/arm/ripper/makemkv.py index 70e0f53ff..24a798223 100755 --- a/arm/ripper/makemkv.py +++ b/arm/ripper/makemkv.py @@ -214,13 +214,13 @@ def get_track_info(mdisc, job): titles = int(line_split[1].strip()) logging.info(f"Found {titles} titles") utils.database_updater({'no_of_titles': titles}, job) + if msg_type == "TINFO": if track != line_track: if line_track == int(0): - pass + track = line_track else: utils.put_track(job, track, seconds, aspect, fps, False, "makemkv", filename) - track = line_track if msg[1] == "27": filename = msg[3].replace('"', '').strip()