Fixes #178. Use list instead of tuple of points.

This commit is contained in:
Juan Pablo Caram
2015-12-02 09:36:58 -05:00
parent c4347bea00
commit 1efed851e9

View File

@@ -139,7 +139,8 @@ class DblSidedTool(FlatCAMTool):
dia = self.drill_dia.get_value() dia = self.drill_dia.get_value()
tools = {"1": {"C": dia}} tools = {"1": {"C": dia}}
holes = self.alignment_holes.get_value() # holes = self.alignment_holes.get_value()
holes = eval('[{}]'.format(self.alignment_holes.text()))
drills = [] drills = []
for hole in holes: for hole in holes: