diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-21 00:28:13 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-21 00:28:13 -0400 |
commit | efdcc5da401feb3dbf5932932e60ff47a5b560e9 (patch) | |
tree | b99964a2ad2cdbf71a19ff8a5ec4d82df4d3f4e6 /gpsprof | |
parent | a6f1d32121b7ce8b4cb9485f238eb62f23b75c7e (diff) | |
download | gpsd-efdcc5da401feb3dbf5932932e60ff47a5b560e9.tar.gz |
Make the 'uninstrumented' plot work again.
Diffstat (limited to 'gpsprof')
-rwxr-xr-x | gpsprof | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,7 +156,7 @@ class uninstrumented: self.stats = [] def gather(self, session): if session.fix.time: - seconds = time.time() - session.fix.time + seconds = time.time() - gps.misc.isotime(session.data.time) self.stats.append(seconds) return True else: @@ -235,7 +235,7 @@ def plotframe(await, fname, speed, threshold, title): sys.exit(1) baton.twirl() if session.data["class"] == "WATCH": - if "timing" in options and not session.data.get("timing"): + if "timing" in options and not session.data.get("xmit_time"): sys.stderr.write("gpsprof: timing is not enabled.\n") sys.exit(1) # We can get some funky artifacts at start of session |