From 19b9fde51dd5260b74191a820342750e364f88d9 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Sun, 17 Sep 2023 18:40:56 +0300 Subject: [PATCH] test new sep --- rarfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rarfile.py b/rarfile.py index 94a94d4..10056b1 100644 --- a/rarfile.py +++ b/rarfile.py @@ -1331,7 +1331,7 @@ def _open_unrar(self, rarfile, inf, pwd=None, tmpfile=None, force_file=False): # not giving filename avoids encoding related problems fn = None if not tmpfile or force_file: - fn = inf.filename + fn = inf.filename.replace("/", os.path.sep) # read from unrar pipe cmd = setup.open_cmdline(pwd, rarfile, fn)