mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
'nativecode' isn't always present
This commit is contained in:
parent
5551ba3d5e
commit
6b5d9abf0d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue