- 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

@@ -409,7 +409,7 @@ class TclCommandSignaled(TclCommand):
args, unnamed_args = self.check_args(args)
if 'timeout' in args:
passed_timeout = args['timeout']
del args['timeout']
args.pop('timeout', None)
else:
passed_timeout = self.app.defaults['global_background_timeout']