diff options
author | mkaay <mkaay@mkaay.de> | 2010-10-08 14:37:49 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-10-08 14:37:49 +0200 |
commit | 74c7c19e69a5eadc2c1feca7608011de11c02418 (patch) | |
tree | d12a2dd4af97c0e07b0417fa6cfa2986d0005d86 /module | |
parent | closed #82 (diff) | |
download | pyload-74c7c19e69a5eadc2c1feca7608011de11c02418.tar.xz |
closed #144
Diffstat (limited to 'module')
-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 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"]) |