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