From 55ef42cb65ce58d582b3c8f7a15f8b8486e6419d Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Fri, 7 May 2021 16:40:05 -0500 Subject: [PATCH] Needs to be a string --- tibi_hardlinks/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tibi_hardlinks/cache.py b/tibi_hardlinks/cache.py index 8fbfae4..a14b2a9 100644 --- a/tibi_hardlinks/cache.py +++ b/tibi_hardlinks/cache.py @@ -5,7 +5,7 @@ from tibi_hardlinks.config import CACHE_DIR import shelve -tibi_cache = shelve.open(Path(CACHE_DIR) / "cache") +tibi_cache = shelve.open(str((Path(CACHE_DIR) / "cache").absolute())) atexit.register(tibi_cache.close)