1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 21:39:40 +02:00
This commit is contained in:
dbarzin 2023-03-04 19:04:53 +01:00
parent b70be873d6
commit f7a6692c8a

View file

@ -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