From 74e129d4dc7bbaf94628e08717a27b50cc51cac9 Mon Sep 17 00:00:00 2001 From: Kload Date: Thu, 5 Dec 2013 10:45:23 +0000 Subject: [PATCH] Delete setting bugfix --- yunohost_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yunohost_app.py b/yunohost_app.py index b4549054..a1ab185b 100644 --- a/yunohost_app.py +++ b/yunohost_app.py @@ -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])