mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-19 21:39: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"])
|
||||
|
||||
# Handle responde from Pandora
|
||||
if (res['success']==True)
|
||||
status=res["status"])
|
||||
if status != "WAITING":
|
||||
if (res['success'] and (loop < 100)):
|
||||
status = res["status"]
|
||||
if (status != "WAITING"):
|
||||
break
|
||||
|
||||
# wait a little
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue