mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Quick fix for app_setting delete
This commit is contained in:
parent
1f46824f1e
commit
0ea6537d78
1 changed files with 3 additions and 2 deletions
|
@ -1407,7 +1407,8 @@ def app_setting(app, key, value=None, delete=False):
|
|||
logger.debug("cannot get app setting '%s' for '%s' (%s)", key, app, e)
|
||||
return None
|
||||
|
||||
if delete and key in app_settings:
|
||||
if delete:
|
||||
if key in app_settings:
|
||||
del app_settings[key]
|
||||
else:
|
||||
# FIXME: Allow multiple values for some keys?
|
||||
|
|
Loading…
Add table
Reference in a new issue