diff --git a/uwsgiconfig.py b/uwsgiconfig.py index f6b9b257..21e1ba51 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -570,7 +570,7 @@ class uConf(object): return None return value except: - if default: + if default is not None: return default return None