mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-20 13:59:40 +02:00
fix typo
This commit is contained in:
parent
b70be873d6
commit
f7a6692c8a
1 changed files with 3 additions and 3 deletions
|
@ -123,9 +123,9 @@ class scanThread (threading.Thread):
|
||||||
res = pandora.task_status(res["taskId"])
|
res = pandora.task_status(res["taskId"])
|
||||||
|
|
||||||
# Handle responde from Pandora
|
# Handle responde from Pandora
|
||||||
if (res['success']==True)
|
if (res['success'] and (loop < 100)):
|
||||||
status=res["status"])
|
status = res["status"]
|
||||||
if status != "WAITING":
|
if (status != "WAITING"):
|
||||||
break
|
break
|
||||||
|
|
||||||
# wait a little
|
# wait a little
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue