run in daemon mode

This commit is contained in:
Csaba 2024-02-08 14:24:08 +01:00 committed by Holger Bruch
parent 8cb1302360
commit 38a8447ba1

View file

@ -70,7 +70,7 @@ def run_enhancer():
logger.info("Goodbye Enhancer") logger.info("Goodbye Enhancer")
def setup(app): def setup(app):
thread = Thread(target=run_enhancer) thread = Thread(target=run_enhancer, daemon=True)
thread.start() thread.start()