Skip to content

Commit

Permalink
More windows debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
brainsik committed Sep 9, 2024
1 parent 88cc29d commit bffc9da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/json_store/shelve2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def convert(oldfile: str):
if not os.path.isfile(oldfile):
raise ValueError("No such file: {}".format(oldfile))

name = oldfile.rsplit(".dat")[0] # macOS
name = oldfile.rsplit(".db")[0] # macOS
print("Will open", name)
data = shelve.open(name)
Expand Down

0 comments on commit bffc9da

Please sign in to comment.