From 8205f7f8b7c4eebe7bb22ab42eeac1879df48391 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 27 Dec 2011 17:48:10 +0100 Subject: [PATCH] Don't use the -r rar option. --- patoolib/programs/rar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patoolib/programs/rar.py b/patoolib/programs/rar.py index 01de315..de002fc 100644 --- a/patoolib/programs/rar.py +++ b/patoolib/programs/rar.py @@ -21,7 +21,7 @@ def extract_rar (archive, encoding, cmd, **kwargs): cmdlist = [cmd, 'x'] if not kwargs['verbose']: cmdlist.append('-c-') - cmdlist.extend(['-r', '--', os.path.abspath(archive)]) + cmdlist.extend(['--', os.path.abspath(archive)]) return (cmdlist, {'cwd': kwargs['outdir']}) def list_rar (archive, encoding, cmd, **kwargs):