bruh moment 7

This commit is contained in:
Somdev Sangwan 2023-05-29 20:21:34 +05:30
parent 0257f930ea
commit 6c98f67c1c

2
run.py
View File

@ -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: