1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Include maintained state in new apps

This commit is contained in:
Alexandre Aubin 2018-11-07 20:46:52 +00:00
parent 312dda817c
commit 5081ad69f8

View file

@ -287,7 +287,8 @@ for app, info in apps_list.items():
'lastUpdate': timestamp, 'lastUpdate': timestamp,
'manifest': include_translations_in_manifest(manifest['id'], manifest), 'manifest': include_translations_in_manifest(manifest['id'], manifest),
'state': info['state'], 'state': info['state'],
'level': info.get('level', '?') 'level': info.get('level', '?'),
'maintained': app_maintained
} }
except KeyError as e: except KeyError as e:
print("-> Error: invalid app info or manifest, %s" % e) print("-> Error: invalid app info or manifest, %s" % e)