fix some encding problems
This commit is contained in:
parent
39c4d26832
commit
14c7c3c6a9
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user