Mercurial > code > home > repos > homeauto
changeset 1030:01e443398336
piNode sends hostname for page title
Ignore-this: d317f012a73a98d287ba7834a1aafeb6
darcs-hash:fe2fd418a9e8ff2d0e5c966d06f45edb5e57ba35
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 25 Jan 2016 00:24:34 -0800 |
parents | 4d36cae32a4c |
children | 9328df09f679 |
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))