From bffc9daf79b9bd6098a7f3426a2c20b1e305d6c2 Mon Sep 17 00:00:00 2001 From: jeremy avnet Date: Mon, 9 Sep 2024 16:05:47 -0700 Subject: [PATCH] More windows debugging --- src/json_store/shelve2json.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/json_store/shelve2json.py b/src/json_store/shelve2json.py index d7031c0..c287e3b 100644 --- a/src/json_store/shelve2json.py +++ b/src/json_store/shelve2json.py @@ -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)