eric7/EricNetwork/EricJsonServer.py

branch
unittest
changeset 9057
ddc46e93ccc4
parent 8943
23f9c7b9e18e
--- a/eric7/EricNetwork/EricJsonServer.py	Sun May 08 15:44:29 2022 +0200
+++ b/eric7/EricNetwork/EricJsonServer.py	Sun May 08 19:58:27 2022 +0200
@@ -60,10 +60,9 @@
 
         self.newConnection.connect(self.handleNewConnection)
         
-        port = self.serverPort()
         ## Note: Need the port if client is started external in debugger.
         print('JSON server ({1}) listening on: {0:d}'   # __IGNORE_WARNING__
-              .format(port, self.__name))
+              .format(self.serverPort(), self.__name))
     
     @pyqtSlot()
     def handleNewConnection(self):
@@ -131,7 +130,7 @@
         """
         Private slot handling received data from the client.
         
-        @param idString id of the connection been disconnected
+        @param idString id of the connection
         @type str
         """
         if idString:

eric ide

mercurial