better windows detection
This commit is contained in:
parent
6c98f67c1c
commit
036ef161dc
2
run.py
2
run.py
@ -36,7 +36,7 @@ for name, value in vars(parser.parse_args()).items():
|
|||||||
args[name] = value
|
args[name] = value
|
||||||
|
|
||||||
sep = "/" # used for filepaths e.g. /root/path/output.mp4
|
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
|
sep = "\\" # for windows
|
||||||
|
|
||||||
def start_processing():
|
def start_processing():
|
||||||
|
Loading…
Reference in New Issue
Block a user