Browse Source

Make cache writeback

master
Raphael Roberts 5 years ago
parent
commit
d3d966ef49
  1. 2
      tibi_hardlinks/cache.py

2
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)

Loading…
Cancel
Save