Mercurial > code > home > repos > homeauto
changeset 225:c5589f21d4a3
piNode sends hostname for page title
Ignore-this: d317f012a73a98d287ba7834a1aafeb6
author | drewp@bigasterisk.com |
---|---|
date | Mon, 25 Jan 2016 00:24:34 -0800 |
parents | 596c645a1fc5 |
children | 1e8ef0daf0f8 |
files | service/piNode/piNode.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/service/piNode/piNode.py Sun Jan 24 22:53:29 2016 -0800 +++ b/service/piNode/piNode.py Mon Jan 25 00:24:34 2016 -0800 @@ -156,6 +156,7 @@ def get(self): self.set_header('Content-type', 'application/json') self.write(json.dumps({ + 'host': socket.gethostname(), 'boards': [self.settings.board.description()] }, indent=2))