From 036ef161dcc8ad9d84805c7abe32edb87c31b1a4 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Mon, 29 May 2023 20:37:36 +0530 Subject: [PATCH] better windows detection --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 63ea042..d734363 100644 --- a/run.py +++ b/run.py @@ -36,7 +36,7 @@ for name, value in vars(parser.parse_args()).items(): args[name] = value sep = "/" # used for filepaths e.g. /root/path/output.mp4 -if os.name == 'nt': +if sys.platform.startswith("win") or os.name == 'nt': sep = "\\" # for windows def start_processing():