- 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

@@ -93,5 +93,5 @@ class TclCommandIsolate(TclCommandSignaled):
if obj.kind != 'gerber':
self.raise_tcl_error('Expected GerberObject, got %s %s.' % (name, type(obj)))
del args['name']
args.pop('name', None)
obj.isolate(plot=False, **args)