# HG changeset patch # User Drew Perttula # Date 1308208318 0 # Node ID 8c878eb4e214e4464106ceaea92396013dc33682 # Parent af5539fe35a78438f8f4032fc6b2e39029e8016c fix networking Ignore-this: 11d53f969e27bc8164e67fd0b12ba42 diff -r af5539fe35a7 -r 8c878eb4e214 light9/networking.py --- a/light9/networking.py Thu Jun 16 07:11:34 2011 +0000 +++ b/light9/networking.py Thu Jun 16 07:11:58 2011 +0000 @@ -10,7 +10,7 @@ def _url(self): graph = getGraph() net = graph.value(showUri(), L9['networking']) - return graph.value(net, self.service) + return str(graph.value(net, self.service)) @property def port(self): @@ -29,7 +29,7 @@ return self._url() def path(self, more): - return self.url + more + return self.url + str(more) dmxServer = ServiceAddress(L9['dmxServer']) musicPlayer = ServiceAddress(L9['musicPlayer']) diff -r af5539fe35a7 -r 8c878eb4e214 light9/showconfig.py --- a/light9/showconfig.py Thu Jun 16 07:11:34 2011 +0000 +++ b/light9/showconfig.py Thu Jun 16 07:11:58 2011 +0000 @@ -15,7 +15,7 @@ now = time.time() diskMtime = path.getmtime(configPath) if diskMtime <= _config[1]: - log.info("reuse graph") + log.info("config.n3 hasn't changed") graph = _config[0] # i'm scared of some program modifying the graph, and then i # return that from a new getGraph call. Maybe I should be