check for cue number before looking at value
This commit is contained in:
parent
3786cdcda1
commit
a7afc4554b
|
@ -124,7 +124,7 @@ def _master_choose(self, ctx):
|
||||||
def _list_go(self, ctx):
|
def _list_go(self, ctx):
|
||||||
for i in ctx.targets:
|
for i in ctx.targets:
|
||||||
list = str(i)
|
list = str(i)
|
||||||
if ctx.number.value is not None:
|
if ctx.number is not None:
|
||||||
list += "." + str(ctx.number.value)
|
list += "." + str(ctx.number.value)
|
||||||
print("Go on List " + list)
|
print("Go on List " + list)
|
||||||
self.send_message(ctx.device, "/hog/playback/go/0", list)
|
self.send_message(ctx.device, "/hog/playback/go/0", list)
|
||||||
|
|
Loading…
Reference in New Issue