Fix Inkscape inx files with BoolArg and argparseSections parameters
This was broken by 603c0a789e
by adding quotes
to some cases but not all.
Resolves: #171
This commit is contained in:
parent
ecbb159c90
commit
df331cd1f3
|
@ -66,9 +66,9 @@ class Boxes2INX:
|
|||
e) for e in a.choices) + ' </param>\n')
|
||||
else:
|
||||
if isinstance(a.type, boxes.BoolArg):
|
||||
t = "boolean"
|
||||
t = '"boolean"'
|
||||
elif a.type is boxes.argparseSections:
|
||||
t = "string"
|
||||
t = '"string"'
|
||||
else:
|
||||
t = { int : '"int"',
|
||||
float : '"float" precision="2"',
|
||||
|
|
Loading…
Reference in New Issue