From df331cd1f36436750225807259efdb75e4a498aa Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 8 Sep 2019 23:22:54 +0200 Subject: [PATCH] Fix Inkscape inx files with BoolArg and argparseSections parameters This was broken by 603c0a789e93a1cd4e2e26fcd4c1598916a0efbc by adding quotes to some cases but not all. Resolves: #171 --- scripts/boxes2inkscape | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/boxes2inkscape b/scripts/boxes2inkscape index 472c7ae..082807b 100755 --- a/scripts/boxes2inkscape +++ b/scripts/boxes2inkscape @@ -66,9 +66,9 @@ class Boxes2INX: e) for e in a.choices) + ' \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"',