diff -r b6cbdba69967 -r e4ab234cf071 DebugClients/Python3/AsyncFile.py --- a/DebugClients/Python3/AsyncFile.py Fri Sep 02 19:14:41 2016 +0200 +++ b/DebugClients/Python3/AsyncFile.py Fri Sep 02 19:50:20 2016 +0200 @@ -10,6 +10,8 @@ import socket +from DebugUtilities import prepareJsonCommand + def AsyncPendingWrite(file): """ @@ -297,16 +299,9 @@ """ self.__checkMode('w') - import json - commandDict = { - "jsonrpc": "2.0", - "method": "ClientOutput", - "params": { - "text": s, - } - } - cmd = json.dumps(commandDict) + '\n' - + cmd = prepareJsonCommand("ClientOutput", { + "text": s, + }) self.write_p(cmd) def write_p(self, s):