From b327e11647b965aca5fa827260b832deee2050fc Mon Sep 17 00:00:00 2001 From: HCLivess Date: Sat, 30 Nov 2019 08:37:29 +0100 Subject: [PATCH] reference logger instead of copying --- connectionmanager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/connectionmanager.py b/connectionmanager.py index 530643f..8e42d4d 100644 --- a/connectionmanager.py +++ b/connectionmanager.py @@ -7,8 +7,7 @@ class ConnectionManager (threading.Thread): def __init__(self, node, mp): threading.Thread.__init__(self, name="ConnectionManagerThread") self.node = node - self.db_lock = node.db_lock - self.logger = node.logger + self.logger = self.node.logger self.mp = mp def run(self):