From e49f8318913a21971432ad267edbe730ed16582f Mon Sep 17 00:00:00 2001 From: dpedu Date: Mon, 22 Jun 2015 23:06:23 -0700 Subject: [PATCH] Fix weather format --- pyircbot/modules/Weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyircbot/modules/Weather.py b/pyircbot/modules/Weather.py index 58b7a14..d422162 100755 --- a/pyircbot/modules/Weather.py +++ b/pyircbot/modules/Weather.py @@ -136,7 +136,7 @@ class Weather(ModuleBase): # Build 5day fiveday = "" for item in data["forecast"]["simpleforecast"]["forecastday"][1:6]: - fiveday += "%(day)s%(icon)s%(low)s-%(high)s°%(unit)s • " % { + fiveday += "%(day)s %(icon)s %(low)s-%(high)s°%(unit)s • " % { "unit":unit.upper(), "high":item["high"]["fahrenheit" if unit=="f" else "celsius"], "low":item["low"]["fahrenheit" if unit=="f" else "celsius"],