diff --git a/py/minimint/mist_interpolator.py b/py/minimint/mist_interpolator.py index a1c7236..8226df0 100644 --- a/py/minimint/mist_interpolator.py +++ b/py/minimint/mist_interpolator.py @@ -168,7 +168,8 @@ def writer(url, pref): fd.close() cmd = f'cd {pref}; tar xfJ {fname_out}' if os.name == 'nt': - cmd = f'cd {pref} && tar.exe -xfJ {fname_out}' + fname_out1 = fname_out.replace('.xz', '') + cmd = f'cd {pref} && 7z x {fname_out} && tar -xf {fname_out1}' ret = subprocess.run(cmd, capture_output=True, shell=True) if ret.returncode != 0: