From f9c4cb452db5d135e3724888efc6919dc83a9395 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 2 Jun 2024 14:22:55 +0200 Subject: [PATCH] Continue Flask migration. --- thermostat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermostat.py b/thermostat.py index 182e87a..874a32e 100644 --- a/thermostat.py +++ b/thermostat.py @@ -326,7 +326,7 @@ def thermostat_loop(): # logging.debug("Relay already off.") time.sleep(load_shedder_interval) -t1 = Thread(thermostat_loop) +t1 = Thread(target=thermostat_loop) logging.info("====== Ended successfully ======") #import argparse