1
0
Fork 0

check for cue number before looking at value

This commit is contained in:
Kevin Matz 2018-10-21 01:51:41 -04:00
parent 3786cdcda1
commit a7afc4554b
1 changed files with 1 additions and 1 deletions

View File

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