From c45a7236a1ff57b33af5e9f11546572ab3d86914 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 13 Apr 2013 22:43:18 -0400 Subject: [PATCH] Fix again. --- commands/weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/weather.py b/commands/weather.py index eb03fd9..0129402 100644 --- a/commands/weather.py +++ b/commands/weather.py @@ -107,9 +107,9 @@ class Weather(Command): msg = "\x02{0}\x0F: {1} {2}; {3}°F ({4}°C); {5} humidity; wind {6}" msg = msg.format(place, icon, weather, temp_f, temp_c, humidity, wind) if data["precip_today_in"] and float(data["precip_today_in"]) > 0: - msg += "; {7}″ precipitation today".format(data["precip_today_in"]) + msg += "; {0}″ precipitation today".format(data["precip_today_in"]) if data["precip_1hr_in"] and float(data["precip_1hr_in"]) > 0: - msg += " ({8}″ past hour)".format(data["precip_1hr_in"]) + msg += " ({0}″ past hour)".format(data["precip_1hr_in"]) return msg def get_icon(self, condition):