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:
parent
b31e20ee8b
commit
8b3c27cb47
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user