From 46364f127f9dea2456b2c263b797f7ad28d1770e Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Thu, 13 Dec 2018 17:59:32 +0530 Subject: [PATCH] Fix typos --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index f4edb27..8763029 100644 --- a/server.py +++ b/server.py @@ -66,8 +66,8 @@ def weather_to_text(forecast, kind, unit): x += ["Max: {0:.1f}°C".format(5*(i["temperatureMax"]-32)/9)] x += ["Min: {0:.1f}°C".format(5*(i["temperatureMin"]-32)/9)] else: - x += ["Max: {0:.1f}°C".format(i["temperatureMax"])] - x += ["Min: {0:.1f}°C".format(i["temperatureMin"])] + x += ["Max: {0:.1f}°F".format(i["temperatureMax"])] + x += ["Min: {0:.1f}°F".format(i["temperatureMin"])] # x += [i["summary"]] if count < 4: row_0.add_column(x)