From a0cdc78cf5c560e75f14fefb3b2cdef7b68eb9bb Mon Sep 17 00:00:00 2001 From: GetPsyched Date: Mon, 27 Nov 2023 17:24:41 +0530 Subject: [PATCH] fix: dump args passed by signal.signal --- src/nexus/GUI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nexus/GUI.py b/src/nexus/GUI.py index f8bf104..03e4a0d 100644 --- a/src/nexus/GUI.py +++ b/src/nexus/GUI.py @@ -650,7 +650,7 @@ def graceful_quit(self): def exec(self): """Start the GUI""" # Handle SIGINT - signal.signal(signal.SIGINT, self.graceful_quit) + signal.signal(signal.SIGINT, lambda *_: self.graceful_quit()) # Start GUI self.window.show()