From 21401b73397a1076925b29ebf6715efc71ff18eb Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 25 Oct 2021 14:23:39 -0700 Subject: [PATCH] Add -- to ensure arguments are considered filepaths. --- rarpar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rarpar.py b/rarpar.py index aabf8f4..79b06cd 100644 --- a/rarpar.py +++ b/rarpar.py @@ -141,6 +141,7 @@ def PARCOMMAND(workdir, basename, par): PAR2, 'c', '-t1', f'-r{par}', + '--', f'{workdir.absolute_path}{os.sep}{basename}', f'{workdir.absolute_path}{os.sep}{basename}*.rar', ]