- made sure that in Tcl commands deleting argument keys will not raise an error
This commit is contained in:
@@ -58,7 +58,7 @@ class TclCommandFollow(TclCommandSignaled):
|
||||
if obj.kind != 'gerber':
|
||||
self.raise_tcl_error('Expected GerberObject, got %s %s.' % (name, type(obj)))
|
||||
|
||||
del args['name']
|
||||
args.pop('name', None)
|
||||
try:
|
||||
obj.follow_geo(**args)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user