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