mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-21 20:55:08 +00:00
func_lenmulti(): no need to call func_len()
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user