Add netwo API #8
1 changed files with 2 additions and 0 deletions
|
@ -207,9 +207,11 @@ class Netwo:
|
||||||
if timeout and time.time() > timeout:
|
if timeout and time.time() > timeout:
|
||||||
netwo_elig["timeoutReached"] = True
|
netwo_elig["timeoutReached"] = True
|
||||||
yield json.dumps(netwo_elig, indent=2)
|
yield json.dumps(netwo_elig, indent=2)
|
||||||
|
yield "\n"
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
yield json.dumps(netwo_elig, indent=2)
|
yield json.dumps(netwo_elig, indent=2)
|
||||||
|
yield "\n"
|
||||||
|
|
||||||
if netwo_elig["nbOperatorsPending"] > 0:
|
if netwo_elig["nbOperatorsPending"] > 0:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
Loading…
Reference in a new issue