From a26865a0e2530d171ac6a369be6c264376b4dfad Mon Sep 17 00:00:00 2001 From: Leviaria <113382526+Leviaria@users.noreply.github.com> Date: Thu, 4 Jul 2024 19:56:39 +0200 Subject: [PATCH] [Bug] Script wont stop #201 --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index c6ed86b..78ee289 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,7 @@ import sys import threading import time +import signal from clashroyalebuildabot.actions.archers_action import ArchersAction from clashroyalebuildabot.actions.fireball_action import FireballAction @@ -43,6 +44,7 @@ def main(): if __name__ == "__main__": + signal.signal(signal.SIGINT, signal.SIG_DFL) title_thread = threading.Thread(target=update_terminal_title, daemon=True) title_thread.start() main()