Changeset - fb7bb50c3ced
[Not reviewed]
default
0 1 0
Drew Perttula - 18 years ago 2007-06-15 21:52:25
drewp@bigasterisk.com
submaster reads n3, not just nt
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/Submaster.py
Show inline comments
 
@@ -61,13 +61,13 @@ class Submaster:
 
        try:
 
            oldlevels = self.levels.copy()
 
            self.levels.clear()
 
            patchGraph = showconfig.getGraph()
 
            if graph is None:
 
                graph = Graph()
 
                graph.parse(showconfig.subFile(self.name), format="nt")
 
                graph.parse(showconfig.subFile(self.name), format="n3")
 
            self.uri = L9['sub/%s' % self.name]
 
            for lev in graph.objects(self.uri, L9['lightLevel']):
 
                chan = graph.value(lev, L9['channel'])
 
                val = graph.value(lev, L9['level'])
 
                name = patchGraph.label(chan)
 
                if not name:
0 comments (0 inline, 0 general)