mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Delete setting bugfix
This commit is contained in:
parent
e52e5187e1
commit
74e129d4dc
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ def app_setting(app, key, value=None, delete=False):
|
|||
# Do not fail if setting file is not there
|
||||
app_settings = {}
|
||||
|
||||
if value is None:
|
||||
if value is None and not delete:
|
||||
# Get the value
|
||||
if app_settings is not None and key in app_settings:
|
||||
print(app_settings[key])
|
||||
|
|
Loading…
Reference in a new issue