summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-01-05 06:04:13 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-01-05 06:04:13 +0000
commit543764154461a6a8dd5349504611d235f821f55d (patch)
tree7c9c122ec9ce130ba3ed2b1b79d280c71adfb8af
parent41798d808a7b233e15cb6e2b8ce992ec54046ae4 (diff)
downloadgpsd-543764154461a6a8dd5349504611d235f821f55d.tar.gz
Temporarily give up on computing UTC time from the O timestamp in Python.
It's kicking up a range error and only the test code uses it anyway.
-rwxr-xr-xgps.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gps.py b/gps.py
index be2bbbd5..c9027dc9 100755
--- a/gps.py
+++ b/gps.py
@@ -308,7 +308,8 @@ class gps(gpsdata):
return cnv(fields[i])
self.utc = fields[1]
self.fix.time = default(1)
- self.utc = isotime(self.fix.time)
+ #if not isnan(self.fix.time):
+ # self.utc = isotime(self.fix.time)
self.fix.ept = default(2)
self.fix.latitude = default(3)
self.fix.longitude = default(4)