--- 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)