Commit 096ffb56 authored by Ziirish's avatar Ziirish

lint

parent 31fc9d2f
Pipeline #1612 passed with stages
in 11 minutes and 59 seconds
......@@ -73,9 +73,11 @@ class BurpHandler(BUIbackend):
else:
Client = mod.Burp
self.backend = Client(conf=conf)
def __backend_alive():
stats = self.backend.statistics()
return 'alive' in stats and stats['alive']
alive = __backend_alive()
while not alive and wait > 0:
self.logger.debug("Waiting for the backend to become alive... {}/{}".format(init_wait - wait, init_wait))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment