From e2f226a6c33542b6f1ff2247a2e4cee34b8f6c87 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 2 Mar 2022 08:10:49 -0500 Subject: [PATCH] Attempted fix for daemon sigterm by accepting all args in the sigterm handler --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e86c5153..f7919337 100644 --- a/main.py +++ b/main.py @@ -151,7 +151,7 @@ if __name__ == '__main__': project_root = os.path.dirname(__file__) controller.set_project_root(project_root) - def sigterm_handler(): + def sigterm_handler(*args): print() # for newline logger.info("Recieved SIGTERM, stopping Crafty") console.info("Recieved SIGTERM, stopping Crafty")