1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-15 09:40:12 +02: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):