mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Add version to returned dict in app_info
This commit is contained in:
parent
c594ce03a6
commit
3f180d254b
1 changed files with 3 additions and 1 deletions
4
app.py
4
app.py
|
@ -215,7 +215,9 @@ def app_info(app, raw=False):
|
||||||
# FIXME: Temporarly allow undefined license
|
# FIXME: Temporarly allow undefined license
|
||||||
'license': app_info['manifest'].get('license',
|
'license': app_info['manifest'].get('license',
|
||||||
m18n.n('license_undefined')),
|
m18n.n('license_undefined')),
|
||||||
#TODO: Add more infos
|
# FIXME: Temporarly allow undefined version
|
||||||
|
'version' : app_info['manifest'].get('version', '-'),
|
||||||
|
#TODO: Add more info
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue