From 8ada789d4dd37b12277d74403effde48eaf36454 Mon Sep 17 00:00:00 2001 From: Hemna Date: Thu, 2 Sep 2021 11:06:25 -0400 Subject: [PATCH] Fixed a problem with the AVWX plugin not working the regex for the plugin was not matching correctly --- aprsd/plugins/weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aprsd/plugins/weather.py b/aprsd/plugins/weather.py index 77e68c6..8eea849 100644 --- a/aprsd/plugins/weather.py +++ b/aprsd/plugins/weather.py @@ -306,7 +306,7 @@ class AVWXWeatherPlugin(plugin.APRSDRegexCommandPluginBase): """ version = "1.0" - command_regex = "^[metar]" + command_regex = "^[mM]" command_name = "Weather" @trace.trace @@ -314,7 +314,7 @@ class AVWXWeatherPlugin(plugin.APRSDRegexCommandPluginBase): fromcall = packet.get("from") message = packet.get("message_text", None) # ack = packet.get("msgNo", "0") - LOG.info(f"OWMWeather Plugin '{message}'") + LOG.info(f"AVWXWeather Plugin '{message}'") a = re.search(r"^.*\s+(.*)", message) if a is not None: searchcall = a.group(1)