fix string concat thinko

This commit is contained in:
Brian S. Stephan 2010-12-06 16:31:16 -06:00
parent a8562f71a0
commit a19dcdb690
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class Weather(Module):
weatherstr = "Current weather for " + city + ": " + condition + ". " + temp_f + "°F (" + temp_c + "°C), " + wind + ", " + humidity
if windchill is not "":
weatherstr += ", Wind chill: " + str(round(windchill, 2)) + "°F"
windchill += "."
weatherstr += "."
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."