Remove wrong 'self' argument.
This commit is contained in:
parent
5fc3332b6b
commit
d861645d37
@ -82,8 +82,8 @@ def init_server():
|
|||||||
server.newConnection.connect(on_localsocket_connection)
|
server.newConnection.connect(on_localsocket_connection)
|
||||||
|
|
||||||
|
|
||||||
def on_localsocket_connection(self):
|
def on_localsocket_connection():
|
||||||
socket = self.server.nextPendingConnection()
|
socket = server.nextPendingConnection()
|
||||||
# FIXME timeout:
|
# FIXME timeout:
|
||||||
while not socket.canReadLine():
|
while not socket.canReadLine():
|
||||||
socket.waitForReadyRead()
|
socket.waitForReadyRead()
|
||||||
|
Loading…
Reference in New Issue
Block a user