summaryrefslogtreecommitdiffstats
path: root/module/gui
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui')
-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 9225df58f..1bfd23af1 100644
--- a/module/gui/Queue.py
+++ b/module/gui/Queue.py
@@ -65,6 +65,8 @@ class QueueModel(CollectorModel):
def update(self):
locker = QMutexLocker(self.mutex)
downloading = self.connector.getDownloadQueue()
+ if downloading is None:
+ return
for p, pack in enumerate(self._data):
for d in downloading:
child = pack.getChild(d["id"])