src/eric7/RemoteServer/EricServer.py

branch
eric7-maintenance
changeset 10947
c8df46dd566d
parent 10774
7f7ff7456904
child 11030
46172eee98b6
equal deleted inserted replaced
10942:e6a500446d9d 10947:c8df46dd566d
204 }, 204 },
205 ) 205 )
206 return {} 206 return {}
207 207
208 jsonStr = data.decode("utf8", "backslashreplace") 208 jsonStr = data.decode("utf8", "backslashreplace")
209 print("Eric Server Receive:", jsonStr) # for debugging # noqa: M801 209 # - print("Eric Server Receive:", jsonStr) # for debugging # noqa: M801
210 try: 210 try:
211 return json.loads(jsonStr.strip()) 211 return json.loads(jsonStr.strip())
212 except (TypeError, ValueError) as err: 212 except (TypeError, ValueError) as err:
213 self.sendJson( 213 self.sendJson(
214 category=EricRequestCategory.Error, 214 category=EricRequestCategory.Error,

eric ide

mercurial