Commit 99d814a0 by devttys0

Fixed arg parsing bug

parent bf70f753
......@@ -52,8 +52,10 @@ class Option(object):
return self.type(value, 0)
else:
return self.type(value)
else:
elif default_value:
return default_value
else:
return value
class Kwarg(object):
'''
......
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