only convert GL argument to a string if cue number is passed
This commit is contained in:
parent
6ab15f8dbe
commit
2a42b496ef
|
@ -166,9 +166,10 @@ class HogDevice():
|
|||
|
||||
def _list_go(self, ctx):
|
||||
for i in ctx.targets:
|
||||
list = str(i)
|
||||
if ctx.number is not None:
|
||||
list += "." + str(ctx.number.value)
|
||||
list = str(i) + "." + str(ctx.number.value)
|
||||
else:
|
||||
list = i
|
||||
logger.info("Go on List " + list)
|
||||
self.osc.send_message(ctx.device, "/hog/playback/go/0", list)
|
||||
|
||||
|
|
Loading…
Reference in New Issue