mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
'nativecode' isn't always present
This commit is contained in:
parent
5551ba3d5e
commit
6b5d9abf0d
@ -533,7 +533,7 @@ def make_index(apps, apks, repodir, archive, categories):
|
||||
perms = ""
|
||||
if len(apk['permissions']) > 0:
|
||||
addElement('permissions', ','.join(apk['permissions']), doc, apkel)
|
||||
if len(apk['nativecode']) > 0:
|
||||
if 'nativecode' in apk and len(apk['nativecode']) > 0:
|
||||
addElement('nativecode', ','.join(apk['nativecode']), doc, apkel)
|
||||
if len(apk['features']) > 0:
|
||||
addElement('features', ','.join(apk['features']), doc, apkel)
|
||||
|
Loading…
Reference in New Issue
Block a user