App setting bugfix

This commit is contained in:
Kload 2013-10-29 13:40:44 +00:00
parent 37d87cad09
commit ecaedc2e11

View file

@ -525,7 +525,7 @@ def app_setting(app, key, value=None):
app_settings = yaml.load(f)
except IOError:
# Do not fail if setting file is not there
pass
app_settings = {}
if value is None:
# Get the value