fix issue with args parsing
This commit is contained in:
parent
34f70d4b72
commit
a7f4e14a19
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ def _apply(target, arg, func):
|
||||||
def apply(targets, args, func):
|
def apply(targets, args, func):
|
||||||
for target in range(len(targets)):
|
for target in range(len(targets)):
|
||||||
if this.values[targets[target]['channel']] != None:
|
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']] = _apply(
|
||||||
this.values[targets[target]['channel']], args[target], func)
|
this.values[targets[target]['channel']], args[target], func)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue