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 11, 2024
1 parent bffc9da commit e5e033e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json_store/shelve2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +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(".dat")[0] # Windows
name = oldfile.rsplit(".db")[0] # macOS
print("Will open", name)
data = shelve.open(name)
Expand Down

0 comments on commit e5e033e

Please sign in to comment.