1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 05:19:40 +02:00
This commit is contained in:
dbarzin 2023-03-04 21:15:12 +01:00
parent d469c3a64c
commit edcf2979b8

View file

@ -115,13 +115,13 @@ class scanThread (threading.Thread):
if file_size > (1024 * 1024 * 1024): if file_size > (1024 * 1024 * 1024):
status = "TOO BIG" status = "TOO BIG"
else: else:
res = pandora.submit_from_disk(file) res = self.pandora.submit_from_disk(file)
time.sleep(0.1) time.sleep(0.1)
loop = 0 loop = 0
while loop < (1024 * 256): while loop < (1024 * 256):
res = pandora.task_status(res["taskId"]) res = self.pandora.task_status(res["taskId"])
# Handle responde from Pandora # Handle responde from Pandora
status = res["status"] status = res["status"]