From 13fca45fc1f017f2e37a150d61e0d2f79568c052 Mon Sep 17 00:00:00 2001 From: Paul Kronenwetter Date: Mon, 30 May 2022 13:47:51 -0400 Subject: [PATCH] Format tnc directory with black. --- tnc/daemon.py | 1 + tnc/main.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tnc/daemon.py b/tnc/daemon.py index fb799739..161bbdc9 100755 --- a/tnc/daemon.py +++ b/tnc/daemon.py @@ -55,6 +55,7 @@ class DAEMON: Daemon class """ + log = structlog.get_logger("DAEMON") def __init__(self): diff --git a/tnc/main.py b/tnc/main.py index 642713ea..4eec6e86 100755 --- a/tnc/main.py +++ b/tnc/main.py @@ -25,6 +25,7 @@ import structlog log = structlog.get_logger(__file__) + def signal_handler(sig, frame): """ a signal handler, which closes the network/socket when closing the application