diff --git a/modules/Weather.py b/modules/Weather.py index aa662e1..b1e347f 100644 --- a/modules/Weather.py +++ b/modules/Weather.py @@ -39,7 +39,7 @@ class Weather(Module): for city in google_weather['forecasts']: weatherstr += " " + city['day_of_week'].encode('utf-8') + ": " + city['condition'].encode('utf-8') + ". High " + city['high'].encode('utf-8') + "°F, Low " + city['low'].encode('utf-8') + "°F." - return self.reply(connection, replypath, unicode(weatherstr, 'utf-8')) + return self.reply(connection, replypath, weatherstr) except URLError as e: return self.reply(connection, replypath, "error connecting to google weather:" + str(e)) except IndexError as e: