diff --git a/tibi_hardlinks/cache.py b/tibi_hardlinks/cache.py index a14b2a9..e6943cb 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(str((Path(CACHE_DIR) / "cache").absolute())) +tibi_cache = shelve.open(str((Path(CACHE_DIR) / "cache").absolute()), writeback=True) atexit.register(tibi_cache.close)