Merge pull request #109 from mattrose/fix-debugserver
fix io errors on debugserver
This commit is contained in:
commit
8c1f96d1f3
|
@ -33,7 +33,7 @@ class PythonConsoleServer(socketserver.BaseRequestHandler):
|
||||||
def handle(self):
|
def handle(self):
|
||||||
ddbg("debugserver: handling")
|
ddbg("debugserver: handling")
|
||||||
try:
|
try:
|
||||||
self.socketio = self.request.makefile()
|
self.socketio = self.request.makefile(mode='rw')
|
||||||
sys.stdout = self.socketio
|
sys.stdout = self.socketio
|
||||||
sys.stdin = self.socketio
|
sys.stdin = self.socketio
|
||||||
sys.stderr = self.socketio
|
sys.stderr = self.socketio
|
||||||
|
|
Loading…
Reference in New Issue