return index change
This commit is contained in:
parent
d445996bdb
commit
fd5366c187
1 changed files with 2 additions and 4 deletions
|
@ -81,15 +81,13 @@ def apply(index, targets, args, func):
|
||||||
index, this.values[targets[target]['channel']], args[target], func)
|
index, this.values[targets[target]['channel']], args[target], func)
|
||||||
if val != this.values[targets[target]['channel']]:
|
if val != this.values[targets[target]['channel']]:
|
||||||
this.values[targets[target]['channel']] = val
|
this.values[targets[target]['channel']] = val
|
||||||
|
return jump
|
||||||
else:
|
else:
|
||||||
val, jump = _apply(
|
val, jump = _apply(
|
||||||
index, this.values[targets[target]['channel']], 0, func)
|
index, this.values[targets[target]['channel']], 0, func)
|
||||||
if val != this.values[targets[target]['channel']]:
|
if val != this.values[targets[target]['channel']]:
|
||||||
this.values[targets[target]['channel']] = val
|
this.values[targets[target]['channel']] = val
|
||||||
logger.debug("{} : {}".format(
|
return jump
|
||||||
targets[target]['channel'],
|
|
||||||
this.values[targets[target]['channel']]
|
|
||||||
))
|
|
||||||
|
|
||||||
|
|
||||||
this.instructions = {
|
this.instructions = {
|
||||||
|
|
Loading…
Reference in a new issue