From a7afc4554b8aceb4d57bd8b06d40d342d5add665 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 21 Oct 2018 01:51:41 -0400 Subject: [PATCH] check for cue number before looking at value --- OscCommentMacroListener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OscCommentMacroListener.py b/OscCommentMacroListener.py index d664f65..bd77b22 100644 --- a/OscCommentMacroListener.py +++ b/OscCommentMacroListener.py @@ -124,7 +124,7 @@ def _master_choose(self, ctx): def _list_go(self, ctx): for i in ctx.targets: list = str(i) - if ctx.number.value is not None: + if ctx.number is not None: list += "." + str(ctx.number.value) print("Go on List " + list) self.send_message(ctx.device, "/hog/playback/go/0", list)