Mercurial > code > home > repos > homeauto
diff service/arduinoNode/arduinoNode.py @ 222:e606f1d89d89
hostname in page title
Ignore-this: 84be0d921c173a4c2c154d6a65e15add
author | drewp@bigasterisk.com |
---|---|
date | Fri, 22 Jan 2016 00:39:35 -0800 |
parents | f8ffb9d8d982 |
children | 07ee72a042db |
line wrap: on
line diff
--- a/service/arduinoNode/arduinoNode.py Mon Jan 18 22:43:22 2016 -0800 +++ b/service/arduinoNode/arduinoNode.py Fri Jan 22 00:39:35 2016 -0800 @@ -400,6 +400,7 @@ self.set_header('Content-type', 'application/json') self.write(json.dumps({ + 'host': socket.gethostname(), 'boards': [b.description() for b in self.settings.boards] }, indent=2))