Changeset - 5cda9c5f66dd
[Not reviewed]
default
0 1 0
Drew Perttula - 18 years ago 2007-06-15 20:18:49
drewp@bigasterisk.com
submaster ignores unknown channels
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/Submaster.py
Show inline comments
 
@@ -70,6 +70,9 @@ class Submaster:
 
                chan = graph.value(lev, L9['channel'])
 
                val = graph.value(lev, L9['level'])
 
                name = patchGraph.label(chan)
 
                if not name:
 
                    print "sub %r has channel %r with no name- leaving out that channel" % (self.name, chan)
 
                    continue
 
                self.levels[name] = float(val)
 

	
 
            if (not quiet) and (oldlevels != self.levels):
0 comments (0 inline, 0 general)