mirror of https://github.com/CIRCL/lookyloo
fix: wrong key type
parent
43a79babba
commit
862c9e0750
|
@ -378,7 +378,7 @@ class Lookyloo():
|
||||||
# Post-processing on lookyloo's side
|
# Post-processing on lookyloo's side
|
||||||
return CaptureStatusCore.ONGOING
|
return CaptureStatusCore.ONGOING
|
||||||
lacus_status = self.lacus.get_capture_status(capture_uuid)
|
lacus_status = self.lacus.get_capture_status(capture_uuid)
|
||||||
if lacus_status == CaptureStatusCore.UNKNOWN and self.redis.sismember('to_capture', capture_uuid):
|
if lacus_status == CaptureStatusCore.UNKNOWN and self.redis.zscore('to_capture', capture_uuid) is not None:
|
||||||
# If we do the query before lacus picks it up, we will tell to the user that the UUID doesn't exists.
|
# If we do the query before lacus picks it up, we will tell to the user that the UUID doesn't exists.
|
||||||
return CaptureStatusCore.QUEUED
|
return CaptureStatusCore.QUEUED
|
||||||
return lacus_status
|
return lacus_status
|
||||||
|
|
Loading…
Reference in New Issue