Fix vcsu breakage
This commit is contained in:
parent
73f4c69cf0
commit
cd421712f5
@ -99,6 +99,11 @@ class driver(screenDriver):
|
|||||||
def updateWatchdog(self,active , eventQueue):
|
def updateWatchdog(self,active , eventQueue):
|
||||||
try:
|
try:
|
||||||
useVCSU = os.access('/dev/vcsu', os.R_OK)
|
useVCSU = os.access('/dev/vcsu', os.R_OK)
|
||||||
|
try:
|
||||||
|
with open('/dev/vcsu', 'rb') as vcsuDummyFile:
|
||||||
|
d = vcsuDummyFile.read()
|
||||||
|
except:
|
||||||
|
useVCSU = False
|
||||||
vcsa = {}
|
vcsa = {}
|
||||||
vcsaDevices = glob.glob('/dev/vcsa*')
|
vcsaDevices = glob.glob('/dev/vcsa*')
|
||||||
vcsu = {}
|
vcsu = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user