Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich authored Sep 13, 2024
1 parent 5cac72c commit d254ffd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zenodo_get/zget.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ def zenodo_get(argv=None):
continue

if fname != filename:
path = os.path.dirname(os.path.abspath(fname))
Path(path).mkdir(parents=True, exist_ok=True)
os.rename(filename, fname)
eprint()
h1, h2 = check_hash(fname, checksum)
Expand Down

0 comments on commit d254ffd

Please sign in to comment.