mirror of https://github.com/CIRCL/lookyloo
fix: Wait for capture to be done before processing it
parent
d80d9c50f9
commit
d500872943
|
@ -78,6 +78,10 @@ class AsyncCapture(AbstractManager):
|
|||
entries = self.lacus.get_capture(uuid)
|
||||
if entries['status'] == CaptureStatusPy.DONE:
|
||||
break
|
||||
else:
|
||||
# No captures are ready
|
||||
uuid = None
|
||||
|
||||
if uuid is None:
|
||||
self.unset_running()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue