debug testing
This commit is contained in:
parent
12e7dda646
commit
c0beac0132
1 changed files with 2 additions and 1 deletions
|
@ -71,14 +71,15 @@ def jez(target, arg, index):
|
|||
|
||||
def _apply(index, target, arg, func):
|
||||
if type(arg) is int:
|
||||
print("{} {} {}".format(func, target, arg))
|
||||
return func(target, arg, index)
|
||||
elif type(arg) is str and arg in this.values:
|
||||
print("{} {} {}".format(func, target, this.values[arg]))
|
||||
return func(target, this.values[arg], index)
|
||||
|
||||
|
||||
def apply(index, targets, args, func):
|
||||
for target in range(len(targets)):
|
||||
print("{} {} {}".format(func, targets[target]['channel'], args[target]))
|
||||
if this.values[targets[target]['channel']] != None:
|
||||
if target < len(args):
|
||||
val, jump = _apply(
|
||||
|
|
Loading…
Reference in a new issue