fix 7
This commit is contained in:
parent
2bd9ea2ee3
commit
dbb3955a79
@ -111,12 +111,12 @@ class driver(screenDriver):
|
|||||||
index = str(vcsaDev[9:])
|
index = str(vcsaDev[9:])
|
||||||
vcsa[index] = open(vcsaDev,'rb')
|
vcsa[index] = open(vcsaDev,'rb')
|
||||||
if index == currScreen:
|
if index == currScreen:
|
||||||
lastScreenContent = vcsa[str(index)].read()
|
lastScreenContent = vcsa[index].read()
|
||||||
if useVCSU:
|
if useVCSU:
|
||||||
vcsuDevices = glob.glob('/dev/vcsu*')
|
vcsuDevices = glob.glob('/dev/vcsu*')
|
||||||
for vcsuDev in vcsuDevices:
|
for vcsuDev in vcsuDevices:
|
||||||
index = vcsuDev[9:]
|
index = str(vcsuDev[9:])
|
||||||
vcsu[str(index)] = open(vcsuDev,'rb')
|
vcsu[index] = open(vcsuDev,'rb')
|
||||||
self.updateCharMap(currScreen)
|
self.updateCharMap(currScreen)
|
||||||
watchdog = select.epoll()
|
watchdog = select.epoll()
|
||||||
watchdog.register(vcsa[currScreen], select.POLLPRI | select.POLLERR)
|
watchdog.register(vcsa[currScreen], select.POLLPRI | select.POLLERR)
|
||||||
|
Loading…
Reference in New Issue
Block a user