return index change

This commit is contained in:
jane 2020-11-10 18:07:36 -05:00
parent d445996bdb
commit fd5366c187

View file

@ -81,15 +81,13 @@ def apply(index, targets, args, func):
index, this.values[targets[target]['channel']], args[target], func)
if val != this.values[targets[target]['channel']]:
this.values[targets[target]['channel']] = val
return jump
else:
val, jump = _apply(
index, this.values[targets[target]['channel']], 0, func)
if val != this.values[targets[target]['channel']]:
this.values[targets[target]['channel']] = val
logger.debug("{} : {}".format(
targets[target]['channel'],
this.values[targets[target]['channel']]
))
return jump
this.instructions = {