From b4c5482ad183a273e5e08e4a533546e4a927b1b0 Mon Sep 17 00:00:00 2001 From: Sein Coray Date: Thu, 30 Aug 2018 17:00:37 +0200 Subject: [PATCH] fixed issue when file task is deleted during execution --- python/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/__main__.py b/python/__main__.py index 5fd13e7..db043cf 100644 --- a/python/__main__.py +++ b/python/__main__.py @@ -75,7 +75,7 @@ def loop(): if task.get_task()['usePrince']: binaryDownload.check_prince() if not files.check_files(task.get_task()['files'], task.get_task()['taskId']): - task_change = True + task.reset_task() continue if task_change and not hashlist.load_hashlist(task.get_task()['hashlistId']): task.reset_task()