summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-05-20 06:41:32 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-05-20 06:41:32 -0400
commit8366778e09592b65b7ef8ad9367151d1d13aa3f8 (patch)
tree8aee261acfdca9d0971ed2c3194966be395b4b01 /devtools
parentfc07400653635c8065adad2edd5bfb3852113e56 (diff)
downloadgpsd-8366778e09592b65b7ef8ad9367151d1d13aa3f8.tar.gz
The last change in gpsdecode was not entirely correct. Fixes from Nirgal.
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/ais.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/ais.py b/devtools/ais.py
index a05700df..762902ad 100755
--- a/devtools/ais.py
+++ b/devtools/ais.py
@@ -824,7 +824,7 @@ def aivdm_unpack(lc, data, offset, values, instructions):
# of a variable-length string field, as in messages 12 and 14
try:
for i in range(inst.width/6):
- newchar = "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^- !\"#$%&`()*+,-./0123456789:;<=>?"[data.ubits(offset + 6*i, 6)]
+ newchar = "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^- !\"#$%&'()*+,-./0123456789:;<=>?"[data.ubits(offset + 6*i, 6)]
if newchar == '@':
break
else: