From 83de83993c88f3190e0062a4f306bbe5c99907f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 6 Oct 2022 09:38:17 +0200 Subject: [PATCH] fix signal handler --- lnbits/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/app.py b/lnbits/app.py index 5afd521cd..a8371950b 100644 --- a/lnbits/app.py +++ b/lnbits/app.py @@ -79,7 +79,7 @@ def create_app() -> FastAPI: async def check_funding_source() -> None: - # original_sigint_handler = signal.getsignal(signal.SIGINT) + original_sigint_handler = signal.getsignal(signal.SIGINT) def signal_handler(signal, frame): logger.debug(f"SIGINT received, terminating LNbits.")