Fixing a mistake.

This commit is contained in:
Marat Fayzullin 2023-04-03 21:29:47 -04:00
parent db8ee6b175
commit 9c1922d309
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class AprsParser(PickleModule):
# filter out special aliases and anything without asterisk
if "path" in aprsData and len(aprsData["path"]) > 0:
path += [hop.strip("*") for hop in aprsData["path"]
if hop.endsWith("*") and not noHopPattern.match(hop)]
if hop.endswith("*") and not noHopPattern.match(hop)]
# return path with all the asterisks stripped
return path