mirror of https://github.com/CIRCL/lookyloo
fix: Make sure all the archived UUIDs are removed
parent
67e6571145
commit
5c9b88a3ca
|
@ -90,6 +90,7 @@ class Archiver(AbstractManager):
|
|||
with (month / 'index').open('r') as _f:
|
||||
archived_uuids = {uuid: str(month / dirname) for uuid, dirname in csv.reader(_f)}
|
||||
lookyloo.redis.hset('lookup_dirs_archived', mapping=archived_uuids)
|
||||
lookyloo.redis.hdel('lookup_dirs', *archived_uuids.keys())
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in New Issue