--- a/WebBrowser/Download/DownloadManager.py Tue Apr 10 19:43:45 2018 +0200 +++ b/WebBrowser/Download/DownloadManager.py Wed Apr 11 19:57:23 2018 +0200 @@ -242,6 +242,7 @@ SafeBrowsingManager if SafeBrowsingManager.isEnabled(): threatLists = WebBrowserWindow.safeBrowsingManager().lookupUrl(url) + # TODO: handle threatLists being None (indicating a lookup error) if threatLists: threatMessages = WebBrowserWindow.safeBrowsingManager()\ .getThreatMessages(threatLists)