fix string concat thinko
This commit is contained in:
parent
a8562f71a0
commit
a19dcdb690
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue