1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00

handle too faste error

This commit is contained in:
dbarzin 2023-03-04 19:02:38 +01:00
parent e8d019b9a5
commit b70be873d6

View file

@ -121,8 +121,10 @@ class scanThread (threading.Thread):
loop = 0
while loop < (1024 * 256):
res = pandora.task_status(res["taskId"])
status = res["status"]
# Handle responde from Pandora
if (res['success']==True)
status=res["status"])
if status != "WAITING":
break