summaryrefslogtreecommitdiffstats
path: root/module/gui/Queue.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-10-08 14:37:49 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-10-08 14:37:49 +0200
commit74c7c19e69a5eadc2c1feca7608011de11c02418 (patch)
treed12a2dd4af97c0e07b0417fa6cfa2986d0005d86 /module/gui/Queue.py
parentclosed #82 (diff)
downloadpyload-74c7c19e69a5eadc2c1feca7608011de11c02418.tar.xz
closed #144
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 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"])