Mercurial > hg > ltpdarepo
changeset 250:239c7d077f20
The toffset field is now stored as number of seconds: adapt.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Wed, 15 Feb 2012 16:09:26 +0100 |
parents | 863e3e81498c |
children | cbbc747949f9 |
files | src/ltpdarepo/views/browse.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ltpdarepo/views/browse.py Tue Dec 27 19:00:04 2011 +0100 +++ b/src/ltpdarepo/views/browse.py Wed Feb 15 16:09:26 2012 +0100 @@ -427,7 +427,7 @@ if obj['data type'] == 'tsdata': curs = g.db.cursor(DictCursor) curs.execute("""SELECT t0, nsecs, fs, xunits, yunits, - t0 - INTERVAL toffset/1000 SECOND AS `reference time` + t0 - INTERVAL toffset SECOND AS `reference time` FROM `%s`.tsdata WHERE obj_id=%%s""" % database, objid) details = curs.fetchone() if details is not None: