fix issue with args parsing

This commit is contained in:
jane 2020-11-09 01:46:41 -05:00
parent 34f70d4b72
commit a7f4e14a19

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 in args:
if target <= len(args):
this.values[targets[target]['channel']] = _apply(
this.values[targets[target]['channel']], args[target], func)
else: