chg: clear cache on update

pull/528/head
Raphaël Vinot 2022-09-28 11:44:15 +02:00
parent a27683f090
commit c71a79fb14
1 changed files with 1 additions and 0 deletions

View File

@ -312,6 +312,7 @@ class CapturesIndex(Mapping):
else:
p.hset('lookup_dirs_archived', uuid, capture_dir_str)
p.delete(capture_dir_str)
p.hset(capture_dir_str, mapping=cache) # type: ignore
p.execute()
return CaptureCache(cache)