From fd60cef69b541d88477345861fcac93552ef8135 Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Sat, 14 Nov 2020 18:56:50 +0100 Subject: [PATCH] Fix signal handlers arguments --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index f4293a2..f3da4c7 100644 --- a/main.py +++ b/main.py @@ -36,15 +36,15 @@ class PodKeeper: self.checking = threading.Event() self.waiter = threading.Event() - def destroy(self): + def destroy(self, signum, stackframe): self.stopping.set() self.waiter.set() - def reload(self): + def reload(self, signum, stackframe): self.reloading.set() self.waiter.set() - def check(self): + def check(self, signum, stackframe): self.checking.set() self.waiter.set()