mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-20 22:05:13 +00:00
fix message parsing range
This commit is contained in:
parent
db8d4cd3fe
commit
2dcdad3a49
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ class AprsParser(object):
|
|||
def parseItem(self, information):
|
||||
result = {"type": "item"}
|
||||
if len(information) > 3:
|
||||
indexes = [information[0:9].find(p) for p in ["!", "_"]]
|
||||
indexes = [information[0:10].find(p) for p in ["!", "_"]]
|
||||
filtered = [i for i in indexes if i >= 3]
|
||||
filtered.sort()
|
||||
if len(filtered):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue