mirror of
https://github.com/vale981/jobmanager
synced 2025-03-06 02:11:39 -05:00
fixed bug in merge_arg_... when there is no 'args' at all, which is also valid as args beeing an empty tuple
This commit is contained in:
parent
7f3411b4ea
commit
01e589bd02
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ def merge_arg_and_const_arg(arg, const_arg):
|
|||
kwargs.update(const_arg)
|
||||
kwargs.update(arg)
|
||||
# remove args as they have been constructed explicitly
|
||||
kwargs.pop('args')
|
||||
if 'args' in kwargs:
|
||||
kwargs.pop('args')
|
||||
|
||||
return args_dgl, kwargs
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue