Update byteManager.py

This commit is contained in:
chrys 2019-09-14 11:48:23 +02:00 committed by GitHub
parent 7afbd90403
commit 7125bfac0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,11 @@ class byteManager():
return return
if eventData == b'': if eventData == b'':
return return
try:
print(eventData.decode('utf8'))
self.env['runtime']['debug'].writeDebugOut("handleByteInput " + eventData.decode('utf8') ,debug.debugLevel.INFO)
except:
pass
self.handleByteStream(eventData) self.handleByteStream(eventData)
def handleSingleByteSequence(self, eventData): def handleSingleByteSequence(self, eventData):
convertedEscapeSequence = self.unifyEscapeSeq(eventData) convertedEscapeSequence = self.unifyEscapeSeq(eventData)