From e5e033e70b7cf0f1cac41327816819d6c50c65c9 Mon Sep 17 00:00:00 2001 From: jeremy avnet Date: Wed, 11 Sep 2024 11:44:10 -0700 Subject: [PATCH] More windows debugging --- src/json_store/shelve2json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json_store/shelve2json.py b/src/json_store/shelve2json.py index c287e3b..67d0a59 100644 --- a/src/json_store/shelve2json.py +++ b/src/json_store/shelve2json.py @@ -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)