ListGo and ListGoto get implemented separately
This commit is contained in:
parent
90209dd49a
commit
3b48186a79
|
@ -220,10 +220,12 @@ class OscCommentMacroListener(CommentMacroListener):
|
|||
|
||||
def exitListGo(self, ctx: CommentMacroParser.ListGoContext):
|
||||
for i in ctx.t.targets:
|
||||
if ctx.n is not None:
|
||||
list = str(i) + "." + str(ctx.n.value)
|
||||
else:
|
||||
list = i
|
||||
logger.info("Go on List " + str(i))
|
||||
self.osc.send_message(ctx.dev, "/hog/playback/go/0", i)
|
||||
|
||||
def exitListGoto(self, ctx: CommentMacroParser.ListGotoContext):
|
||||
for i in ctx.t.targets:
|
||||
list = str(i) + "." + str(ctx.n.value)
|
||||
logger.info("Go on List " + str(list))
|
||||
self.osc.send_message(ctx.dev, "/hog/playback/go/0", list)
|
||||
|
||||
|
|
Loading…
Reference in New Issue