annotate web/test.py @ 35:4bfa9b7b2e4b

- fix mac/urllib to work - don't sent 'START' line
author Matt Johnston <matt@ucc.asn.au>
date Sat, 16 Jun 2012 09:03:15 +0800
parents 048143905092
children ca08442635ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 #!/usr/bin/env python
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 import log
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 import time
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 log.sensor_update("test1", [22,22,22.1,22.4,22.5], time.time() - 10, 300)