|
|
@@ -2720,7 +2720,7 @@ class CNCjob(Geometry):
|
|
|
else:
|
|
|
selected_tools = [x.strip() for x in tools.split(",")] #we strip spaces and also separate the tools by ','
|
|
|
selected_tools = filter(lambda i: i in selected_tools, selected_tools)
|
|
|
- tools = [i for i,j in sorted_tools for k in selected_tools if i == k] #create a list of tools from the sorted_tools list only if the tools is in the selected tools
|
|
|
+ tools = [i for i,j in sorted_tools for k in selected_tools if i == k] #create a sorted list of selected tools from the sorted_tools list
|
|
|
log.debug("Tools selected and sorted are: %s" % str(tools))
|
|
|
|
|
|
# Points (Group by tool)
|