view web/test.py @ 336:ba4c4df13487

parse the arguments for start/length
author Matt Johnston <matt@ucc.asn.au>
date Tue, 12 Jun 2012 23:43:49 +0800
parents 1e22eaf93620
children ca08442635ca
line wrap: on
line source

#!/usr/bin/env python
import log
import time

log.sensor_update("test1", [22,22,22.1,22.4,22.5], time.time() - 10, 300)