- 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

@@ -78,5 +78,5 @@ class TclCommandExportGcode(TclCommandSignaled):
if self.app.collection.has_promises():
self.raise_tcl_error('!!!Promises exists, but should not here!!!')
del args['name']
args.pop('name', None)
return obj.get_gcode(**args)