summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorNuno Gonçalves <nunojpg@gmail.com>2015-08-25 22:00:06 +0100
committerEric S. Raymond <esr@thyrsus.com>2015-08-29 11:58:02 -0400
commit86d967fed45d5ef8ff4d08606bc20d5b237d9a3d (patch)
tree2f6e6a57a860cc8f93d8dd8ba52e0f8f1bd2845f /gpsprof
parent92fdfb6b5a4afc9f87ff9dca9516534a16ca87bf (diff)
downloadgpsd-86d967fed45d5ef8ff4d08606bc20d5b237d9a3d.tar.gz
Fix Append to string of serial parameters
Before it didn't print any serial parameters. Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index eac24236..82972e05 100755
--- a/gpsprof
+++ b/gpsprof
@@ -63,7 +63,7 @@ class plotter:
(gps.misc.isotime(self.start_time),
self.device.get('driver', "unknown"))
if 'bps' in self.device:
- desc + "%d %dN%d, cycle %ds" % \
+ desc += "%d %dN%d, cycle %ds" % \
(self.device['bps'], 9 - self.device['stopbits'],
self.device['stopbits'], self.device['cycle'])
else: