1432 # corrupted data -> discard and continue |
1432 # corrupted data -> discard and continue |
1433 continue |
1433 continue |
1434 |
1434 |
1435 jsonStr = data.decode("utf-8", "backslashreplace") |
1435 jsonStr = data.decode("utf-8", "backslashreplace") |
1436 |
1436 |
1437 logging.debug("<Debug-Server> %s", jsonStr) |
1437 logging.getLogger(__name__).debug("<Debug-Server> %s", jsonStr) |
1438 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M891__ |
1438 ##print("Server: ", jsonStr) ## debug # __IGNORE_WARNING_M891__ |
1439 |
1439 |
1440 self.__handleJsonCommand(jsonStr, sock) |
1440 self.__handleJsonCommand(jsonStr, sock) |
1441 |
1441 |
1442 def __handleJsonCommand(self, jsonStr, sock): |
1442 def __handleJsonCommand(self, jsonStr, sock): |