- made sure that in Tcl commands deleting argument keys will not raise an error

This commit is contained in:
Marius Stanciu
2022-01-17 12:57:28 +02:00
committed by Marius
parent e18690baf0
commit 0a9adcb82d
10 changed files with 14 additions and 23 deletions

View File

@@ -211,7 +211,7 @@ class TclCommandCncjob(TclCommandSignaled):
self.raise_tcl_error("The entered value for 'toolchangexy' needs to have the format x,y or "
"in format (x, y) - no spaces allowed. But always two comma separated values.")
del args['name']
args.pop('name', None)
for arg in args:
if arg == "toolchange_xy" or arg == "spindlespeed" or arg == "startz":