- 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:
@@ -92,7 +92,11 @@ class TclCommandCncjob(TclCommandSignaled):
|
||||
name = ''
|
||||
|
||||
if 'muted' in args:
|
||||
muted = bool(eval(args['muted']))
|
||||
try:
|
||||
par = args['muted'].capitalize()
|
||||
except AttributeError:
|
||||
par = args['muted']
|
||||
muted = bool(eval(par))
|
||||
else:
|
||||
muted = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user