Bug fix: herp update notifier

This commit is contained in:
Kiooeht 2011-07-08 16:41:18 -07:00
parent fd00ec314a
commit 9a6de6452e

View file

@ -66,7 +66,7 @@ class MSPAChecker(QtGui.QWidget):
if self.status['last_seen']['pubdate'] > self.status['last_visited']['pubdate']: if self.status['last_seen']['pubdate'] > self.status['last_visited']['pubdate']:
if not hasattr(self, "mspa"): if not hasattr(self, "mspa"):
self.mspa = None self.mspa = None
if not mspa: if not self.mspa:
self.mspa = MSPAUpdateWindow(self.parent()) self.mspa = MSPAUpdateWindow(self.parent())
self.connect(self.mspa, QtCore.SIGNAL('accepted()'), self.connect(self.mspa, QtCore.SIGNAL('accepted()'),
self, QtCore.SLOT('visit_site()')) self, QtCore.SLOT('visit_site()'))