From 2a42b496ef5a259a3f1a87c7ad0b24acfe192e7c Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Thu, 25 Oct 2018 12:42:36 -0400 Subject: [PATCH] only convert GL argument to a string if cue number is passed --- OscMacroDefinitions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OscMacroDefinitions.py b/OscMacroDefinitions.py index ca1a8bb..1bbe245 100644 --- a/OscMacroDefinitions.py +++ b/OscMacroDefinitions.py @@ -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)