diff --git a/plugins/weather/weather_temp_ b/plugins/weather/weather_temp_ index dd54e53f..fe4f64fd 100755 --- a/plugins/weather/weather_temp_ +++ b/plugins/weather/weather_temp_ @@ -18,8 +18,8 @@ import re url = 'https://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT' -re_C = re.compile(r'Temperature:.*\((-?\d+\.?\d?) C\)') -re_DewC = re.compile(r'Dew.*\((-?\d+\.?\d?) C\)') +re_C = re.compile(r'Temperature:\s*[0-9]*\s*[F]*\s*\((-?\d+\.?\d?) C\)') +re_DewC = re.compile(r'Dew.*:\s*[0-9]*\s*[F]*\s*\((-?\d+\.?\d?) C\)') code = sys.argv[0][(sys.argv[0].rfind('_') + 1):]