fix signal handler

This commit is contained in:
dni ⚡ 2022-10-06 09:38:17 +02:00
parent 0ef7efde3b
commit 83d0133467

View File

@ -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.")