diff options
author | mkaay <mkaay@mkaay.de> | 2011-01-27 01:56:58 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-01-27 01:56:58 +0100 |
commit | 7eb04fbfb9287f59da58800e2546ccfddbe1902f (patch) | |
tree | d137b515e4d521185090d287297ed3843a84d758 /module/gui/Queue.py | |
parent | gui overview size calc fix, width issue (diff) | |
download | pyload-7eb04fbfb9287f59da58800e2546ccfddbe1902f.tar.xz |
some improvements
Diffstat (limited to 'module/gui/Queue.py')
-rw-r--r-- | module/gui/Queue.py | 2 |
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 |