Continue Flask migration.
This commit is contained in:
parent
dd210495f2
commit
f40fa5e50b
@ -213,6 +213,7 @@ migrate = Migrate(app, db, compare_type=True)
|
||||
#sys.stdout.flush()
|
||||
|
||||
target_name = default_target
|
||||
forced_mode = None
|
||||
|
||||
def thermostat_loop():
|
||||
start_time = time.time()
|
||||
@ -220,6 +221,7 @@ def thermostat_loop():
|
||||
new_forced_mode = None
|
||||
first_loop = True
|
||||
global target_name
|
||||
global forced_mode
|
||||
|
||||
while True:
|
||||
# if stop.is_set():
|
||||
|
Loading…
Reference in New Issue
Block a user