debug hell

This commit is contained in:
Chrys 2019-08-22 22:02:14 +02:00
parent efb53c8b53
commit 47027aaa4f

View File

@ -124,7 +124,9 @@ class driver(screenDriver):
self.env['runtime']['debug'].writeDebugOut('VCSU'),debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut('VCSU'),debug.debugLevel.ERROR)
vcsuDevices = glob.glob('/dev/vcsu*') vcsuDevices = glob.glob('/dev/vcsu*')
for vcsuDev in vcsuDevices: for vcsuDev in vcsuDevices:
self.env['runtime']['debug'].writeDebugOut('9'),debug.debugLevel.ERROR)
index = str(vcsuDev[9:]) index = str(vcsuDev[9:])
self.env['runtime']['debug'].writeDebugOut('10'),debug.debugLevel.ERROR)
vcsu[index] = open(vcsuDev,'rb') vcsu[index] = open(vcsuDev,'rb')
self.env['runtime']['debug'].writeDebugOut('charmap'),debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut('charmap'),debug.debugLevel.ERROR)
self.updateCharMap(currScreen) self.updateCharMap(currScreen)