From c1e3fbd28773a505a335c1d86ecfab053106c3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Joubert?= Date: Tue, 15 Jan 2019 12:03:11 +0100 Subject: [PATCH] Standalone version of 7z 7za is more widely handled than 7z, this seems quite important when acess to package install is not available (eg. distant server) --- mwtypes/files/p7z.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mwtypes/files/p7z.py b/mwtypes/files/p7z.py index 8c76080..2212e6f 100644 --- a/mwtypes/files/p7z.py +++ b/mwtypes/files/p7z.py @@ -15,7 +15,7 @@ def reader(path): the path to the dump file to read """ p = subprocess.Popen( - ['7z', 'e', '-so', path], + ['7za', 'e', '-so', path], stdout=subprocess.PIPE, stderr=file_open(os.devnull, "w") )