summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-02 00:06:53 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-11-02 08:49:04 -0400
commite30c03ee36b770bcf7f0cc62d79ad9f9669e178a (patch)
treed3870636683490214fc2898d42e228652b929b3e /gpsprof
parentacb68dbecfeb6f64ef471f5f953760be79a6c28d (diff)
downloadgpsd-e30c03ee36b770bcf7f0cc62d79ad9f9669e178a.tar.gz
Generic replotting code.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index af77d5a4..4a13f095 100755
--- a/gpsprof
+++ b/gpsprof
@@ -129,7 +129,7 @@ class plotter:
self.session.unpack(line)
if self.session.data["class"] == "DEVICES":
self.device = copy.copy(self.session.data["devices"][0])
- elif self.session.data["class"] != "TPV":
+ elif self.session.data["class"] not in self.watch:
continue
self.sample()
baton.end()