summaryrefslogtreecommitdiffstats
path: root/module/gui/Queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/Queue.py')
-rw-r--r--module/gui/Queue.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/gui/Queue.py b/module/gui/Queue.py
index 4ac68ca31..bcd254fb9 100644
--- a/module/gui/Queue.py
+++ b/module/gui/Queue.py
@@ -145,6 +145,8 @@ class QueueModel(CollectorModel):
perc_sum = 0
for child in item.children:
try:
+ if child.data["status"] == 13: #processing
+ return int(child.data["progress"])
perc_sum += int(child.data["progress"])
except:
pass