diff -r 960850ec284c -r a22eee00b052 eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py --- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py Sat Aug 31 12:29:57 2019 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py Sat Aug 31 12:58:11 2019 +0200 @@ -31,7 +31,6 @@ from .SafeBrowsingCache import SafeBrowsingCache from .SafeBrowsingThreatList import ThreatList, HashPrefixList from .SafeBrowsingUrl import SafeBrowsingUrl -from .SafeBrowsingUtilities import toHex class SafeBrowsingManager(QObject): @@ -427,7 +426,7 @@ @rtype list of ThreatList """ fullHashes = list(fullHashes) - cues = [toHex(fh[:4]) for fh in fullHashes] + cues = [fh[:4].hex() for fh in fullHashes] result = [] matchingPrefixes = {}