From 3576d025fefc8385fd73380c490d4c464f0449bf Mon Sep 17 00:00:00 2001 From: Romain Lebbadi-Breteau Date: Sat, 4 Dec 2021 18:08:16 -0500 Subject: [PATCH] fix verify.py use sha256sum from common --- fdroidserver/verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/verify.py b/fdroidserver/verify.py index a8acb557..778a2137 100644 --- a/fdroidserver/verify.py +++ b/fdroidserver/verify.py @@ -133,7 +133,7 @@ def write_json_report(url, remote_apk, unsigned_apk, compare_result): d = hashabledict() output[key] = d d['file'] = filename - d['sha256'] = update.sha256sum(filename) + d['sha256'] = common.sha256sum(filename) d['timestamp'] = os.stat(filename).st_ctime d['packageName'], d['versionCode'], d['versionName'] = common.get_apk_id(filename) if compare_result: