1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-09-27 07:36:40 -04:00

Update weather.py

get back the "starts with w" is the weather command regex
This commit is contained in:
Craig Lamparter 2023-12-21 10:54:07 -08:00 committed by GitHub
parent 0fd7daaae0
commit b6df9de8aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,9 @@ class USWeatherPlugin(plugin.APRSDRegexCommandPluginBase, plugin.APRSFIKEYMixin)
"weather" - returns weather near the calling callsign "weather" - returns weather near the calling callsign
""" """
command_regex = r"^([w][x]|[w][x]\s|weather)" # command_regex = r"^([w][x]|[w][x]\s|weather)"
command_regex = r"^[wW]"
command_name = "USWeather" command_name = "USWeather"
short_description = "Provide USA only weather of GPS Beacon location" short_description = "Provide USA only weather of GPS Beacon location"