Fixed depricated exception class usage; fixed usertype interupt

This commit is contained in:
2024-03-25 22:49:31 -05:00
parent 02c31719d1
commit a362039e73
2 changed files with 7 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ class Application:
try:
# kill -SIGUSR2 <pid> from Linux/Unix or SIGBREAK signal from Windows
signal.signal(
vars(signal).get("SIGBREAK") or vars(signal).get("SIGUSR1"),
vars(signal).get("SIGBREAK") or vars(signal).get("SIGUSR2"),
debug_signal_handler
)
except ValueError: