Files
hemna 8c45c762c7 fix: return parsed JSON from get_weather_gov_metar
get_weather_gov_metar() called json.loads(response) with the
requests.Response object, which raises TypeError ('the JSON object
must be str, bytes or bytearray').  Every METAR-by-station request
fell into the plugin's catch-all and returned 'Unable to find
station METAR'.

Parse response.text instead and return the dict.  USMetarPlugin
was then double-parsing with json.loads(resp.text) on the result;
it now consumes the dict directly.  The now-unused json import in
weather.py was dropped.
2026-09-20 10:48:44 -04:00
..
2026-01-05 17:00:03 -05:00
2026-01-18 23:54:43 -05:00