diff --git a/QtPyNetwork/server/BaseServer.py b/QtPyNetwork/server/BaseServer.py index 6e62215..7eb79f3 100644 --- a/QtPyNetwork/server/BaseServer.py +++ b/QtPyNetwork/server/BaseServer.py @@ -16,7 +16,7 @@ def __init__(self, parent=None): @Slot(int) def incomingConnection(self, socket_descriptor): - self.connection.emit(socket_descriptor) + self.connection.emit(int(socket_descriptor)) class QBaseServer(QObject):