From 98a3891152804b717a496322d6fbc0fa5f78fcd2 Mon Sep 17 00:00:00 2001 From: Fabrice Quenneville Date: Mon, 9 Nov 2020 10:47:41 -0500 Subject: [PATCH] Fixed issue with corrective when identical before/after filename --- curator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curator.py b/curator.py index 3f6278f..f340eb1 100755 --- a/curator.py +++ b/curator.py @@ -105,7 +105,7 @@ def main(): oldfilename = str(video)[str(video).rindex("/") + 1:] newfilename = oldfilename[:-4] + ".mkv" if oldfilename == newfilename: - newfilename = oldfilename[:-4] + "[HEVC]" + newfilename = oldfilename[:-4] + "[HEVC]" + ".mkv" counter += 1 print(f"{bcolors.OKCYAN}*********** convert {counter} of {len(videolist)} ***********{bcolors.ENDC}")