summaryrefslogtreecommitdiffstats
path: root/module/gui/MainWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/MainWindow.py')
-rw-r--r--module/gui/MainWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/gui/MainWindow.py b/module/gui/MainWindow.py
index 0d4864959..ab728a55b 100644
--- a/module/gui/MainWindow.py
+++ b/module/gui/MainWindow.py
@@ -425,7 +425,7 @@ class MainWindow(QMainWindow):
item = index.internalPointer()
self.emit(SIGNAL("restartDownload"), item.id, isinstance(item, Package))
id, isTopLevel = self.queueContext.item
- if not id == None:
+ if not id is None:
self.emit(SIGNAL("restartDownload"), id, isTopLevel)
def slotRemoveDownload(self):