--- a/Helpviewer/AdBlock/AdBlockSubscription.py Thu Mar 04 15:39:21 2010 +0000 +++ b/Helpviewer/AdBlock/AdBlockSubscription.py Sat Mar 06 10:21:13 2010 +0000 @@ -179,7 +179,9 @@ if self.__location.isEmpty(): return "" - sha1 = QCryptographicHash.hash(self.__location, QCryptographicHash.Sha1).toHex() + sha1 = bytes( + QCryptographicHash.hash(self.__location, QCryptographicHash.Sha1).toHex())\ + .decode() dataDir = os.path.join(Utilities.getConfigDir(), "browser", "subscriptions") if not os.path.exists(dataDir): os.makedirs(dataDir)