From edcf2979b888363f3102e2c0daad57c1c318fdd8 Mon Sep 17 00:00:00 2001 From: dbarzin Date: Sat, 4 Mar 2023 21:15:12 +0100 Subject: [PATCH] fix bug --- pandora-box.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora-box.py b/pandora-box.py index f76cf8c..c404aac 100755 --- a/pandora-box.py +++ b/pandora-box.py @@ -115,13 +115,13 @@ class scanThread (threading.Thread): if file_size > (1024 * 1024 * 1024): status = "TOO BIG" else: - res = pandora.submit_from_disk(file) + res = self.pandora.submit_from_disk(file) time.sleep(0.1) loop = 0 while loop < (1024 * 256): - res = pandora.task_status(res["taskId"]) + res = self.pandora.task_status(res["taskId"]) # Handle responde from Pandora status = res["status"]