From 5530c96f8eccd1f6a21eb5c05b066901bae26b97 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 27 Aug 2019 23:32:21 +0200 Subject: [PATCH] fix message offsets --- owrx/aprs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/aprs.py b/owrx/aprs.py index fce978c..2aacb9b 100644 --- a/owrx/aprs.py +++ b/owrx/aprs.py @@ -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":