From 95a6b526a04f3cbfeb716522ca2840a03c5a8943 Mon Sep 17 00:00:00 2001 From: "Sergey E. Koposov" Date: Wed, 27 Dec 2023 01:31:18 +0000 Subject: [PATCH] try another fix --- py/minimint/mist_interpolator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/minimint/mist_interpolator.py b/py/minimint/mist_interpolator.py index db03281..e515b75 100644 --- a/py/minimint/mist_interpolator.py +++ b/py/minimint/mist_interpolator.py @@ -167,8 +167,8 @@ def writer(url, pref): fdout.close() fd.close() if os.name == 'nt': - fname_out1 = fname_out.replace('.xz', '') - cmd = f'cd {pref} && 7z x {fname_out} && tar -xf {fname_out1}' + fname_out1 = fname_out.replace('.txz', '.tar') + cmd = f'cd {pref} && 7z x {fname_out} -so > {fname_out1} && tar -xf {fname_out1}' else: cmd = f'cd {pref}; tar xfJ {fname_out}'