1
0
Fork 0

only convert GL argument to a string if cue number is passed

This commit is contained in:
Kevin Matz 2018-10-25 12:42:36 -04:00
parent 6ab15f8dbe
commit 2a42b496ef
1 changed files with 3 additions and 2 deletions

View File

@ -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)