--- a/printrun-src/printrun/svg2gcode/shapes.py Sat Jun 04 09:22:51 2016 +0200 +++ b/printrun-src/printrun/svg2gcode/shapes.py Sat Jun 04 10:01:58 2016 +0200 @@ -134,16 +134,12 @@ def __init__(self, xml_node, polytype): super(polycommon, self).__init__(xml_node) self.points = list() - if not self.xml_node == None: polycommon_el = self.xml_node points = polycommon_el.get('points') if polycommon_el.get('points') else list() points = points.split() for pa in points: self.points.append(pa) - #if polycommon_el.get('fill'): - # # Append first point to close shape - # self.points.append(points[0]) else: logging.error("polycommon: Unable to get the attributes for %s", self.xml_node)