mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1645 from YunoHost/enh_app_id_settings
[enh] app id in settings
This commit is contained in:
commit
f92316325e
1 changed files with 3 additions and 0 deletions
|
@ -2012,6 +2012,9 @@ def _get_app_settings(app):
|
||||||
):
|
):
|
||||||
settings["path"] = "/" + settings["path"].strip("/")
|
settings["path"] = "/" + settings["path"].strip("/")
|
||||||
_set_app_settings(app, settings)
|
_set_app_settings(app, settings)
|
||||||
|
|
||||||
|
# Make the app id available as $app too
|
||||||
|
settings["app"] = app
|
||||||
|
|
||||||
if app == settings["id"]:
|
if app == settings["id"]:
|
||||||
return settings
|
return settings
|
||||||
|
|
Loading…
Add table
Reference in a new issue