Skip to content

Commit

Permalink
fix: dump args passed by signal.signal
Browse files Browse the repository at this point in the history
  • Loading branch information
GetPsyched committed Nov 27, 2023
1 parent 862b668 commit a0cdc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nexus/GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a0cdc78

Please sign in to comment.