NuWeather: fix flipped max, min temps for apixu

This commit is contained in:
James Lu 2018-12-30 23:42:24 -08:00
parent 2f223dde11
commit 7682a4b0d0

View File

@ -240,7 +240,7 @@ class NuWeather(callbacks.Plugin):
condition = forecastdata['day']['condition']['text']
maxtemp = self._format_temp(forecastdata['day']['maxtemp_f'], forecastdata['day']['maxtemp_c'], msg=msg)
mintemp = self._format_temp(forecastdata['day']['mintemp_f'], forecastdata['day']['mintemp_c'], msg=msg)
forecast = _('%s; High: %s Low: %s' % (condition, mintemp, maxtemp))
forecast = _('%s; High: %s Low: %s' % (condition, maxtemp, mintemp))
s = _('%s :: %s | \x02Today:\x02 %s | Powered by \x02Apixu\x02') % (
ircutils.bold(location), current, forecast