From 18af1394a8b732d94b48b8f13e78cfcae3e45a6e Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 15 May 2015 10:40:17 +0200 Subject: Move Class-Level variables to the Instances I should really learn python… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- voctocore/lib/controlserver.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'voctocore/lib/controlserver.py') diff --git a/voctocore/lib/controlserver.py b/voctocore/lib/controlserver.py index 8ebb11b..c457fee 100644 --- a/voctocore/lib/controlserver.py +++ b/voctocore/lib/controlserver.py @@ -6,12 +6,9 @@ from lib.commands import ControlServerCommands from lib.tcpmulticonnection import TCPMultiConnection class ControlServer(TCPMultiConnection): - log = logging.getLogger('ControlServer') - - boundSocket = None - def __init__(self, pipeline): '''Initialize server and start listening.''' + self.log = logging.getLogger('ControlServer') super().__init__(port=9999) self.commands = ControlServerCommands(pipeline) -- cgit v1.2.3