From 6c98f67c1c8b97a83ee8f5058347688b62aa6d15 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Mon, 29 May 2023 20:21:34 +0530 Subject: [PATCH] bruh moment 7 --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 4cd3e5e..63ea042 100644 --- a/run.py +++ b/run.py @@ -92,7 +92,7 @@ def start(): video_name = target_path.split(sep)[-1].split(".")[0] output_dir = target_path.replace(target_path.split(sep)[-1], "") + sep + video_name if sep == "\\": - output_dir = output_dir.lstrip("\\").rstri("\\") + output_dir = output_dir.lstrip("\\").rstrip("\\") Path(output_dir).mkdir(exist_ok=True) fps = detect_fps(target_path) if not args['keep_fps'] and fps > 30: