# HG changeset patch # User drewp@bigasterisk.com # Date 1277010327 0 # Node ID 39752169b8031e75cd09e790d0e107267cccb998 # Parent 776401dea0777a23ba84c4b51c7c1ddebee216b2 don't try to read sub graphs for virtual subterms (chases) Ignore-this: b4bbcab615f9887345c952bbc41eb171 diff -r 776401dea077 -r 39752169b803 light9/Submaster.py --- a/light9/Submaster.py Sun Jun 20 05:04:47 2010 +0000 +++ b/light9/Submaster.py Sun Jun 20 05:05:27 2010 +0000 @@ -70,9 +70,13 @@ # use the main one! The sub graphs will eventually # just be part of the one and only shared graph graph = Graph() - inFile = showconfig.subFile(self.name) - log.info("reading %s", inFile) - graph.parse(inFile, format="n3") + if not self.name: + # anon sub, maybe for a chase + pass + else: + inFile = showconfig.subFile(self.name) + log.info("reading %s", inFile) + graph.parse(inFile, format="n3") self.uri = L9['sub/%s' % self.name] for lev in graph.objects(self.uri, L9['lightLevel']): chan = graph.value(lev, L9['channel'])