mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-09 17:00:27 +03:00
update: switch to improved androguard detection
This commit is contained in:
parent
f420a037d5
commit
88e24dc4e3
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue