fix some encding problems

This commit is contained in:
chrys 2017-08-12 03:04:33 +02:00
parent 39c4d26832
commit 14c7c3c6a9

View File

@ -185,9 +185,7 @@ class driver():
ioctl(tty.fileno(), GIO_UNIMAP, unimapdesc) ioctl(tty.fileno(), GIO_UNIMAP, unimapdesc)
break break
except Exception as e: except Exception as e:
tty.close()
self.env['runtime']['debug'].writeDebugOut('VCSA:updateCharMap:' + str(e),debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut('VCSA:updateCharMap:' + str(e),debug.debugLevel.ERROR)
return
sz *= 2 sz *= 2
tty.close() tty.close()
ncodes, = unpack_from("@H", unimapdesc) ncodes, = unpack_from("@H", unimapdesc)