mirror of https://github.com/CIRCL/lookyloo
fix: properly check zscore (can be 0)
parent
c3313b0f90
commit
7e25747d82
|
@ -99,7 +99,7 @@ class Processing(AbstractManager):
|
||||||
to_requeue.append(uuid)
|
to_requeue.append(uuid)
|
||||||
|
|
||||||
for uuid in to_requeue:
|
for uuid in to_requeue:
|
||||||
if not self.lookyloo.redis.zscore('to_capture', uuid):
|
if self.lookyloo.redis.zscore('to_capture', uuid) is None
|
||||||
# The capture has been captured in the meantime.
|
# The capture has been captured in the meantime.
|
||||||
continue
|
continue
|
||||||
self.logger.info(f'Found a non-queued capture ({uuid}), retrying now.')
|
self.logger.info(f'Found a non-queued capture ({uuid}), retrying now.')
|
||||||
|
|
Loading…
Reference in New Issue