mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
fix verify.py use sha256sum from common
This commit is contained in:
parent
b281c4ec82
commit
3576d025fe
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ def write_json_report(url, remote_apk, unsigned_apk, compare_result):
|
||||||
d = hashabledict()
|
d = hashabledict()
|
||||||
output[key] = d
|
output[key] = d
|
||||||
d['file'] = filename
|
d['file'] = filename
|
||||||
d['sha256'] = update.sha256sum(filename)
|
d['sha256'] = common.sha256sum(filename)
|
||||||
d['timestamp'] = os.stat(filename).st_ctime
|
d['timestamp'] = os.stat(filename).st_ctime
|
||||||
d['packageName'], d['versionCode'], d['versionName'] = common.get_apk_id(filename)
|
d['packageName'], d['versionCode'], d['versionName'] = common.get_apk_id(filename)
|
||||||
if compare_result:
|
if compare_result:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue