weather_owm: flip coordinates to (lat, lon)
@@ -253,7 +253,7 @@ weather_owm {
# set a location
weather_owm {
api_key = <my api key>
- location = (2.3548, 48.9342) # Saint-Denis
+ location = (48.9342, 2.3548) # Saint-Denis
}
```
@@ -771,7 +771,7 @@ class Py3status:
if loc_tz_info is not None:
(coords, city, country, tz_offset) = loc_tz_info
if coords:
- extras = {"lon": coords[0], "lat": coords[1]}
+ extras = {"lat": coords[0], "lon": coords[1]}
elif city:
extras = {"q": city}
wthr = self._get_weather(extras)
