mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-01-05 16:20:23 +01:00
fix message offsets
This commit is contained in:
parent
1d8fea891a
commit
5530c96f8e
|
|
@ -248,7 +248,7 @@ class AprsParser(object):
|
|||
|
||||
def parseMessage(self, information):
|
||||
result = {"type": "message"}
|
||||
if len(information) > 10 and information[10] == ":":
|
||||
if len(information) > 9 and information[9] == ":":
|
||||
result["adressee"] = information[0:9]
|
||||
message = information[10:]
|
||||
if len(message) > 3 and message[0:3] == "ack":
|
||||
|
|
|
|||
Loading…
Reference in a new issue