From c58e4a4f4321e5abe539c46f4f7451a95c5d7c5e Mon Sep 17 00:00:00 2001 From: "Matthew McDougal, KA0S" <26339355+ars-ka0s@users.noreply.github.com> Date: Wed, 1 May 2024 23:05:02 -0500 Subject: [PATCH] Write EAS/SAME decodes to accessible files --- owrx/toolbox.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/owrx/toolbox.py b/owrx/toolbox.py index 7509dab9..38bd213d 100644 --- a/owrx/toolbox.py +++ b/owrx/toolbox.py @@ -375,7 +375,7 @@ class EasSameParser(TextParser): def __init__(self, service: bool = False): self.reSplit = re.compile(r"(EAS: \S+)") # Construct parent object - super().__init__(filePrefix="EAS_SAME", service=service) + super().__init__(filePrefix="EASSAME", service=service) def parse(self, msg: bytes): # Parse EAS SAME messages @@ -404,7 +404,4 @@ class EasSameParser(TextParser): del spot['msg'] ReportingEngine.getSharedInstance().spot(spot) - if self.service: - return None - return '\n'.join(out)