Skip to content

Commit bffc9da

Browse files
committed
More windows debugging
1 parent 88cc29d commit bffc9da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/json_store/shelve2json.py

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def convert(oldfile: str):
1313
if not os.path.isfile(oldfile):
1414
raise ValueError("No such file: {}".format(oldfile))
1515

16+
name = oldfile.rsplit(".dat")[0] # macOS
1617
name = oldfile.rsplit(".db")[0] # macOS
1718
print("Will open", name)
1819
data = shelve.open(name)

0 commit comments

Comments
 (0)