diff -r 960850ec284c -r a22eee00b052 eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py --- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py Sat Aug 31 12:29:57 2019 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py Sat Aug 31 12:58:11 2019 +0200 @@ -22,7 +22,6 @@ QCoreApplication, QEventLoop from PyQt5.QtSql import QSql, QSqlDatabase, QSqlQuery -from .SafeBrowsingUtilities import toHex from .SafeBrowsingThreatList import ThreatList @@ -593,7 +592,7 @@ query.prepare(queryStr) query.addBindValue(QByteArray(prefix), QSql.In | QSql.Binary) - query.addBindValue(toHex(prefix[:4])) + query.addBindValue(prefix[:4].hex()) query.addBindValue(threatList.threatType) query.addBindValue(threatList.platformType) query.addBindValue(threatList.threatEntryType)