mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-25 09:03:59 +00:00
Fix $setlist function not having return value
This commit is contained in:
@@ -337,7 +337,7 @@ def func_set(parser, name, value):
|
||||
|
||||
def func_setlist(parser, name, value, split_chars = ';'):
|
||||
"""Sets the variable ``name`` to ``value`` as a list; splitting by the passed string."""
|
||||
func_set(parser, name, value.split(split_chars) if value else value)
|
||||
return func_set(parser, name, value.split(split_chars) if value else value)
|
||||
|
||||
def func_get(parser, name):
|
||||
"""Returns the variable ``name`` (equivalent to ``%name%``)."""
|
||||
|
||||
Reference in New Issue
Block a user