I run the Linux appimage version of 1.0 beta2.
If I replace inkbool like the Wiki page tells me with to inkex.inkbool I get an error message:
self.arg_parser.add_argument('--d_top',type=inkex.inkbool, dest='d_top', default=False)AttributeError: 'module' object has no attribute 'inkbool'
if I instead use bool as a type it doesn't throw an exception but it always evaluates them to True.
What am I supposed to do?
It's inkex.Boolean not inkex.inkbool.
I've fixed the wiki page.
I run the Linux appimage version of 1.0 beta2.
If I replace inkbool like the Wiki page tells me with to inkex.inkbool I get an error message:
self.arg_parser.add_argument('--d_top',type=inkex.inkbool, dest='d_top', default=False)
AttributeError: 'module' object has no attribute 'inkbool'
if I instead use bool as a type it doesn't throw an exception but it always evaluates them to True.
What am I supposed to do?
It's inkex.Boolean not inkex.inkbool.
I've fixed the wiki page.