Skip to content

Commit

Permalink
try another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Dec 27, 2023
1 parent 86725fe commit 95a6b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/minimint/mist_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'

Expand Down

0 comments on commit 95a6b52

Please sign in to comment.