fix cachew

This commit is contained in:
Dima Gerasimov 2019-08-14 23:45:54 +01:00
parent 69d88a5315
commit d3661d65b5

View file

@ -296,7 +296,7 @@ def dir_hash(path: Path):
return mtimes
@cachew(db_path=Path('/L/data/.cache/emfit.cache'), hashf=dir_hash)
@cachew(cache_path=Path('/L/data/.cache/emfit.cache'), hashf=dir_hash)
def iter_datas_cached(path: Path) -> Iterator[Emfit]:
for f in sorted(path.glob('*.json')):
sid = f.stem