Remove wrong 'self' argument.

This commit is contained in:
Florian Bruhin 2014-10-13 07:43:22 +02:00
parent 5fc3332b6b
commit d861645d37

View File

@ -82,8 +82,8 @@ def init_server():
server.newConnection.connect(on_localsocket_connection)
def on_localsocket_connection(self):
socket = self.server.nextPendingConnection()
def on_localsocket_connection():
socket = server.nextPendingConnection()
# FIXME timeout:
while not socket.canReadLine():
socket.waitForReadyRead()