- fixed issue #313 where TclCommand drillcncjob is spitting errors in Tcl Shell which should be ignored

This commit is contained in:
Marius Stanciu
2019-09-17 02:58:01 +03:00
committed by Marius
parent bd0c1da007
commit fe97364ba5
4 changed files with 21 additions and 13 deletions

View File

@@ -90,10 +90,10 @@ class TclCommandWriteGCode(TclCommandSignaled):
try:
obj = self.app.collection.get_by_name(str(obj_name))
except:
if not muted:
if muted == 0:
return "Could not retrieve object: %s" % obj_name
else:
return
return "fail"
try:
obj.export_gcode(str(filename), str(preamble), str(postamble))