mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
Merge pull request #276 from prymitive/build_fixes
better check for default value, this allows using false or empty string ...
This commit is contained in:
+1
-1
@@ -570,7 +570,7 @@ class uConf(object):
|
||||
return None
|
||||
return value
|
||||
except:
|
||||
if default:
|
||||
if default is not None:
|
||||
return default
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user