1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

update: switch to improved androguard detection

This commit is contained in:
Hans-Christoph Steiner 2018-02-22 13:39:41 +01:00
parent f420a037d5
commit 88e24dc4e3

View File

@ -1049,11 +1049,9 @@ def scan_apk(apk_file):
'antiFeatures': set(),
}
try:
import androguard
androguard # silence pyflakes
if common.use_androguard():
scan_apk_androguard(apk, apk_file)
except ImportError:
else:
scan_apk_aapt(apk, apk_file)
# Get the signature, or rather the signing key fingerprints