- 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:
@@ -65,7 +65,11 @@ class TclCommandDelete(TclCommand):
|
||||
if args['f'] is None:
|
||||
is_forced = True
|
||||
else:
|
||||
is_forced = True if bool(eval(str(args['f']))) else False
|
||||
try:
|
||||
par = args['f'].capitalize()
|
||||
except AttributeError:
|
||||
par = args['f']
|
||||
is_forced = bool(eval(par))
|
||||
except KeyError:
|
||||
is_forced = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user