Continue Flask migration.

This commit is contained in:
yohan 2024-06-02 15:03:21 +02:00
parent dd210495f2
commit f40fa5e50b

View File

@ -213,6 +213,7 @@ migrate = Migrate(app, db, compare_type=True)
#sys.stdout.flush() #sys.stdout.flush()
target_name = default_target target_name = default_target
forced_mode = None
def thermostat_loop(): def thermostat_loop():
start_time = time.time() start_time = time.time()
@ -220,6 +221,7 @@ def thermostat_loop():
new_forced_mode = None new_forced_mode = None
first_loop = True first_loop = True
global target_name global target_name
global forced_mode
while True: while True:
# if stop.is_set(): # if stop.is_set():