mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-22 15:44:59 +00:00
Fixed $copy function not working when evaluating script in options.
This commit is contained in:
@@ -346,7 +346,7 @@ def func_copy(parser, new, old):
|
||||
new = "~" + new[1:]
|
||||
if old.startswith("_"):
|
||||
old = "~" + old[1:]
|
||||
parser.context[new] = parser.context.getall(old)[:]
|
||||
parser.context[new] = parser.context.get(old, [])[:]
|
||||
return ""
|
||||
|
||||
def func_trim(parser, text, char=None):
|
||||
|
||||
Reference in New Issue
Block a user