summaryrefslogtreecommitdiff
path: root/voctocore/lib/controlserver.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-15 10:40:17 +0200
committerMaZderMind <github@mazdermind.de>2015-05-15 10:40:17 +0200
commit18af1394a8b732d94b48b8f13e78cfcae3e45a6e (patch)
tree277a4ed47ce1823742da57a9999b75dd1a265f22 /voctocore/lib/controlserver.py
parent389f87470bc988a2e4c26b4ce6e23a313aafbaf0 (diff)
Move Class-Level variables to the Instances
I should really learn python…
Diffstat (limited to 'voctocore/lib/controlserver.py')
-rw-r--r--voctocore/lib/controlserver.py5
1 files changed, 1 insertions, 4 deletions
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)