diff --git a/pattern.py b/pattern.py index 124d407..e02e2b2 100644 --- a/pattern.py +++ b/pattern.py @@ -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(