Helpviewer/History/HistoryManager.py

changeset 1670
6fd889391d2c
parent 1626
a77c8ea8582c
child 1693
9bb872e26a33
--- a/Helpviewer/History/HistoryManager.py	Fri Feb 24 11:15:28 2012 +0100
+++ b/Helpviewer/History/HistoryManager.py	Sat Feb 25 17:54:39 2012 +0100
@@ -212,7 +212,7 @@
         """
         cleanurl = QUrl(url)
         cleanurl.setPassword("")
-        if cleanurl.host() is not None:
+        if cleanurl.host():
             cleanurl.setHost(cleanurl.host().lower())
         itm = HistoryEntry(cleanurl.toString(), QDateTime.currentDateTime())
         self._addHistoryEntry(itm)

eric ide

mercurial