eric6/Cooperation/CooperationClient.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
diff -r 27f636beebad -r 2c730d5fd177 eric6/Cooperation/CooperationClient.py
--- a/eric6/Cooperation/CooperationClient.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/Cooperation/CooperationClient.py	Tue Mar 02 17:17:09 2021 +0100
@@ -215,7 +215,7 @@
         @param connection connection that caused the error
         @type Connection
         """
-        if socketError != QAbstractSocket.RemoteHostClosedError:
+        if socketError != QAbstractSocket.SocketError.RemoteHostClosedError:
             if connection.peerPort() != 0:
                 msg = "* {0}:{1}\n{2}\n".format(
                     connection.peerAddress().toString(),

eric ide

mercurial