We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5e033e commit 9a0f0c2Copy full SHA for 9a0f0c2
src/json_store/shelve2json.py
@@ -13,7 +13,7 @@ def convert(oldfile: str):
13
if not os.path.isfile(oldfile):
14
raise ValueError("No such file: {}".format(oldfile))
15
16
- # name = oldfile.rsplit(".dat")[0] # Windows
+ name = oldfile.rsplit(".dat")[0] # Windows
17
name = oldfile.rsplit(".db")[0] # macOS
18
print("Will open", name)
19
data = shelve.open(name)
0 commit comments