Mercurial > code > home > repos > light9
changeset 638:8c878eb4e214
fix networking
Ignore-this: 11d53f969e27bc8164e67fd0b12ba42
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Thu, 16 Jun 2011 07:11:58 +0000 |
parents | af5539fe35a7 |
children | 7ee76a895427 |
files | light9/networking.py light9/showconfig.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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'])
--- 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