From 650ac8c1be33425c04f271756dc8b9130d63cee1 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Jan 2022 15:12:43 +0000 Subject: Weather information --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 7cfa088..113d0f7 100644 --- a/main.py +++ b/main.py @@ -16,7 +16,7 @@ DBFILE = "data.db" db = sql.db(DBFILE) -# weather = weather_met_no() +weather = weather_met_no() # Check if running on correct device : defensive coding against running # on the wrong device @@ -38,7 +38,7 @@ def main_page(): "main.html", actual_temp=boiler.temperature, target_temp=boiler.target - # forecast_temp=weather.temperature() + forecast_temp=weather.temperature() ) -- cgit v1.2.3