1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

update: replace encode('hex') with hexlify

This commit is contained in:
Daniel Martí 2016-01-04 18:51:39 +01:00
parent b31e20ee8b
commit 8b3c27cb47

View File

@ -400,7 +400,7 @@ def getsig(apkpath):
cert_encoded = encoder.encode(certificates)[4:]
return hashlib.md5(cert_encoded.encode('hex')).hexdigest()
return hashlib.md5(hexlify(cert_encoded)).hexdigest()
def scan_apks(apps, apkcache, repodir, knownapks, use_date_from_apk=False):