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
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ class USWeatherPlugin(plugin.APRSDRegexCommandPluginBase, plugin.APRSFIKEYMixin)
"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"
short_description = "Provide USA only weather of GPS Beacon location"