func_lenmulti(): no need to call func_len()

This commit is contained in:
Laurent Monin
2020-02-14 23:25:44 +01:00
parent 1cec6e3e06
commit b16f2099a7

View File

@@ -795,7 +795,7 @@ def func_len(parser, text=""):
@script_function(eval_args=False)
def func_lenmulti(parser, multi, separator=MULTI_VALUED_JOINER):
return func_len(parser, MultiValue(parser, multi, separator))
return str(len(MultiValue(parser, multi, separator)))
@script_function()