diff --git a/core.py b/core.py index 6c6a8a4..b5a98c4 100644 --- a/core.py +++ b/core.py @@ -142,7 +142,8 @@ def main(): chat=update.message.chat, telegram_user=update.message.from_user, cfg=user_cfg, - engine=engine) + engine=engine, + daemon=True) # Start the worker log.debug(f"Starting {new_worker.name}") new_worker.start()