Commit 30637264 by devttys0

Fixed default value parsing bug

parent 5860c32d
......@@ -57,7 +57,7 @@ class Option(object):
t = self.type(value, 0)
else:
t = self.type(value)
elif default_value is not None:
elif default_value or default_value is False:
t = default_value
else:
t = value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment