- fixed some bugs in the Tcl Commands
- modified the Tcl Commands to be able to use as boolean values keywords with lower case like 'false' instead of expected 'False'
This commit is contained in:
@@ -83,8 +83,12 @@ class TclCommandIsolate(TclCommandSignaled):
|
||||
args['follow'] = None
|
||||
|
||||
# evaluate this parameter so True, False, 0 and 1 works
|
||||
if "combine" in args:
|
||||
args['combine'] = bool(eval(args['combine']))
|
||||
if 'combine' in args:
|
||||
try:
|
||||
par = args['combine'].capitalize()
|
||||
except AttributeError:
|
||||
par = args['combine']
|
||||
args['combine'] = bool(eval(par))
|
||||
else:
|
||||
args['combine'] = bool(eval(self.app.defaults["gerber_combine_passes"]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user