diff --git a/thermostat.py b/thermostat.py index 7c384f4..0841417 100755 --- a/thermostat.py +++ b/thermostat.py @@ -389,9 +389,3 @@ t1.start() xprint('toto2') gunicorn_app = app xprint('toto3') -while True: - if stop.is_set(): - dbconn.close() - break - time.sleep(0.5) -exit(0)