From 8f6ab0af54dcb7bbbc0f11f3ecebd7496a164743 Mon Sep 17 00:00:00 2001 From: Jactus Date: Mon, 14 Dec 2020 18:11:12 +0800 Subject: [PATCH] Format --- examples/run_all_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/run_all_model.py b/examples/run_all_model.py index 31a82a569..d587eff15 100644 --- a/examples/run_all_model.py +++ b/examples/run_all_model.py @@ -68,6 +68,7 @@ def only_allow_defined_args(function_to_decorate): def handler(signum, frame): os.system("kill -9 %d" % os.getpid()) + signal.signal(signal.SIGINT, handler)