0-based
This commit is contained in:
parent
5d713cd90a
commit
8f220b961d
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class CustomFunction(Function):
|
|||
|
||||
resolved_variables_with_args = copy.deepcopy(resolved_variables)
|
||||
for i, arg in enumerate(resolved_args):
|
||||
function_arg = FunctionArgument(name=f"${i}") # Function args are 1-based
|
||||
function_arg = FunctionArgument(name=f"${i}") # Function args are 0-based
|
||||
if function_arg in resolved_variables_with_args:
|
||||
raise StringFormattingException("nested custom functions???")
|
||||
resolved_variables_with_args[function_arg] = arg
|
||||
|
|
|
|||
Loading…
Reference in a new issue