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:
unbit
2013-05-11 02:53:56 -07:00
+1 -1
View File
@@ -570,7 +570,7 @@ class uConf(object):
return None
return value
except:
if default:
if default is not None:
return default
return None