mirror of https://github.com/CIRCL/lookyloo
fix: Exception if there are no lookyloo-specific settings
parent
86f3c5638e
commit
b6428977b7
|
@ -495,7 +495,8 @@ class Lookyloo():
|
|||
|
||||
p = self.redis.pipeline()
|
||||
p.sadd('to_capture', perma_uuid)
|
||||
p.hset(perma_uuid, mapping=query) # This will add the remaining entries that are lookyloo specific
|
||||
if query:
|
||||
p.hset(perma_uuid, mapping=query) # This will add the remaining entries that are lookyloo specific
|
||||
p.zincrby('queues', 1, f'{source}|{authenticated}|{user}')
|
||||
p.set(f'{perma_uuid}_mgmt', f'{source}|{authenticated}|{user}')
|
||||
p.execute()
|
||||
|
|
Loading…
Reference in New Issue