Skip to content
This repository was archived by the owner on Apr 27, 2019. It is now read-only.

Commit 30fb11e

Browse files
committed
Fixed debug logging.
1 parent 93a43c3 commit 30fb11e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def __init__(self):
3434
self.buffering_packet = None
3535
self.after_write_callback = None
3636
self.plugin_manager = None
37-
self.debug_file = open(self.config.debug_file, 'w')
3837
self.call_mapping = {
3938
packets.Packets.PROTOCOL_VERSION: self.protocol_version,
4039
packets.Packets.CONNECT_RESPONSE: self.connect_response,
@@ -594,4 +593,4 @@ def buildProtocol(self, address):
594593

595594
factory = StarryPyServerFactory()
596595
reactor.listenTCP(factory.config.bind_port, factory)
597-
reactor.run()
596+
reactor.run()

0 commit comments

Comments
 (0)