Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Dec 27, 2023
1 parent 621b88a commit 678d75c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions py/minimint/mist_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,11 @@ def writer(url, pref):
fd.close()
if os.name == 'nt':
fname_out1 = fname_out.replace('.txz', '.tar')
cmd = (f'cd {pref} && '
f'7z x {fname_out} -so > {fname_out1} && '
f'tar -xf {fname_out1}')
cmd = (
f'cd {pref} && '
f'7z x {fname_out} -so > {fname_out1} && '
# f'tar -xvf {fname_out1}'
f'7z x {fname_out1}')
else:
cmd = f'cd {pref}; tar xfJ {fname_out}'
ret = subprocess.run(cmd, capture_output=True, shell=True, timeout=60)
Expand Down

0 comments on commit 678d75c

Please sign in to comment.