From 5ef277fc21595153fc9aec838f6e8b238cbc9a80 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sat, 25 Feb 2017 19:45:55 +0100 Subject: [PATCH] boxes2inkscape: Execute boxes directly, add dependency Default to str as type of inputs --- scripts/boxes2inkscape | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/boxes2inkscape b/scripts/boxes2inkscape index 7da7090..d66192a 100755 --- a/scripts/boxes2inkscape +++ b/scripts/boxes2inkscape @@ -73,19 +73,19 @@ class Boxes2INX: t = { int : "int", float : "float", str : "string", - }.get(a.type, a.type) + }.get(a.type, "string") return ''' %s\n''' % (name, t, viewname, quoteattr(a.help or ""), a.default) def generator2inx(self, name, box): result = [ """ <_name>%s + boxes info.festi.boxes.py.%s %s """ % (name, name, name.lower())] -# boxes groupid = 0 for group in box.argparser._action_groups: if not group._group_actions: @@ -111,7 +111,7 @@ class Boxes2INX: """ % self.groups_by_name[box.ui_group].title)