mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-01 16:01:06 -05:00
NuWeather: fix flipped max, min temps for apixu
This commit is contained in:
parent
2f223dde11
commit
7682a4b0d0
@ -240,7 +240,7 @@ class NuWeather(callbacks.Plugin):
|
|||||||
condition = forecastdata['day']['condition']['text']
|
condition = forecastdata['day']['condition']['text']
|
||||||
maxtemp = self._format_temp(forecastdata['day']['maxtemp_f'], forecastdata['day']['maxtemp_c'], msg=msg)
|
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)
|
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') % (
|
s = _('%s :: %s | \x02Today:\x02 %s | Powered by \x02Apixu\x02') % (
|
||||||
ircutils.bold(location), current, forecast
|
ircutils.bold(location), current, forecast
|
||||||
|
Loading…
x
Reference in New Issue
Block a user