summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/uihelper.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/uihelper.py')
-rw-r--r--lib/bb/ui/uihelper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/ui/uihelper.py b/lib/bb/ui/uihelper.py
index 113fcedea..963c1ea2d 100644
--- a/lib/bb/ui/uihelper.py
+++ b/lib/bb/ui/uihelper.py
@@ -61,6 +61,9 @@ class BBUIHelper:
self.running_tasks[event.pid]['progress'] = event.progress
self.running_tasks[event.pid]['rate'] = event.rate
self.needUpdate = True
+ else:
+ return False
+ return True
def getTasks(self):
self.needUpdate = False