--- a/Helpviewer/History/HistoryManager.py Fri Feb 24 11:15:28 2012 +0100 +++ b/Helpviewer/History/HistoryManager.py Sat Feb 25 16:26:01 2012 +0100 @@ -208,7 +208,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)