diff --git a/extensions/fablabchemnitz_boxmaker.py b/extensions/fablabchemnitz_boxmaker.py index 9c940080..55f60371 100644 --- a/extensions/fablabchemnitz_boxmaker.py +++ b/extensions/fablabchemnitz_boxmaker.py @@ -72,7 +72,7 @@ def getLine(XYstring): line = inkex.PathElement() line.style = { 'stroke': '#000000', 'stroke-width' : str(linethickness), 'fill': 'none' } line.path = XYstring - #inkex.etree.SubElement(parent, inkex.addNS('path','svg'), drw) + #etree.SubElement(parent, inkex.addNS('path','svg'), drw) return line # jslee - shamelessly adapted from sample code on below Inkscape wiki page 2015-07-28 @@ -636,4 +636,4 @@ class BoxMaker(inkex.Effect): side(group,(x+dx,y+dy),(-b,-c),(d,-c),keydivwalls*ctabs*(thickness if c else -thickness),dx,(-1,0),c,1,0,0) # side c side(group,(x,y+dy),(d,-c),(d,a),keydivfloor*dtabs*(-thickness if d else thickness),dy,(0,-1),d,1,0,0) # side d -BoxMaker().run() \ No newline at end of file +BoxMaker().run() diff --git a/extensions/fablabchemnitz_delete_above.py b/extensions/fablabchemnitz_delete_above.py index c238ca93..a0c5f3b6 100644 --- a/extensions/fablabchemnitz_delete_above.py +++ b/extensions/fablabchemnitz_delete_above.py @@ -120,4 +120,4 @@ if __name__ == '__main__': FMT = PPRINTER.pformat DUMP = lambda obj: inkex.debug(FMT(obj)) - DeleteAboveEffect().run() + DeleteAboveEffect().run() \ No newline at end of file