This commit is contained in:
jane 2020-11-09 02:06:05 -05:00
parent e78e8b2bb8
commit ad0aa01052

View file

@ -57,7 +57,7 @@ def _apply(target, arg, func):
def apply(targets, args, func):
for target in range(len(targets)):
if this.values[targets[target]['channel']] != None:
if target <= len(args):
if target < len(args):
this.values[targets[target]['channel']] = _apply(
this.values[targets[target]['channel']], args[target], func)
else: