Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Dec 27, 2023
1 parent 11c7372 commit 2caef71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/minimint/mist_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,11 @@ def writer(url, pref):
fdout.write(fd.read())
fdout.close()
fd.close()
fname_out = os.path.basename(fname_out)
if os.name == 'nt':
fname_out1 = fname_out.replace('.txz', '.tar')
cmd = (f'cd {pref} && '
f'7z x {fname_out} && '
f'7z -bb3 x {fname_out} && '
f'7z -bb3 x {fname_out1}')
else:
cmd = f'cd {pref}; tar xfJ {fname_out}'
Expand Down

0 comments on commit 2caef71

Please sign in to comment.