mirror of https://github.com/CIRCL/lookyloo
chg: clear old UUIDs found when archiving
parent
f209ef22f1
commit
096d7c6fb5
|
@ -286,6 +286,7 @@ class Archiver(AbstractManager):
|
||||||
# archive the capture.
|
# archive the capture.
|
||||||
capture_path = Path(path)
|
capture_path = Path(path)
|
||||||
if not capture_path.exists():
|
if not capture_path.exists():
|
||||||
|
self.redis.hdel('lookup_dirs', uuid)
|
||||||
if not self.redis.hexists('lookup_dirs_archived', uuid):
|
if not self.redis.hexists('lookup_dirs_archived', uuid):
|
||||||
self.logger.warning(f'Missing capture directory for {uuid}, unable to archive {capture_path}')
|
self.logger.warning(f'Missing capture directory for {uuid}, unable to archive {capture_path}')
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue