Commit eedcc629 authored by sumpfralle's avatar sumpfralle

r1057@erker: lars | 2010-06-30 18:16:55 +0200

 fixed obsolete piece of code


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@428 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 9680469a
......@@ -56,5 +56,5 @@ def get_tool_from_settings(tool_settings, height=None):
toroid = tool_settings["torus_radius"]
return ToroidalCutter(radius, toroid, height=height)
else:
return "Invalid cutter shape: '%s' is not one of %s" % (cuttername, TOOL_SHAPES)
return "Invalid cutter shape: '%s' is not known" % str(cuttername)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment