From 74c7c19e69a5eadc2c1feca7608011de11c02418 Mon Sep 17 00:00:00 2001 From: mkaay Date: Fri, 8 Oct 2010 14:37:49 +0200 Subject: closed #144 --- module/gui/Queue.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'module/gui') 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"]) -- cgit v1.2.3