61 Private method to receive the data from the client. |
61 Private method to receive the data from the client. |
62 """ |
62 """ |
63 while self.qsock and self.qsock.canReadLine(): |
63 while self.qsock and self.qsock.canReadLine(): |
64 line = bytes(self.qsock.readLine()).decode() |
64 line = bytes(self.qsock.readLine()).decode() |
65 |
65 |
66 ##print(line) ## debug # __IGNORE_WARNING_M891__ |
66 ##print(line) ## debug # __IGNORE_WARNING_M-891__ |
67 |
67 |
68 try: |
68 try: |
69 commandDict = json.loads(line.strip()) |
69 commandDict = json.loads(line.strip()) |
70 except (TypeError, ValueError) as err: |
70 except (TypeError, ValueError) as err: |
71 EricMessageBox.critical( |
71 EricMessageBox.critical( |