improve message
This commit is contained in:
parent
310aa3ef09
commit
f795c3206b
@ -135,7 +135,7 @@ class driver():
|
|||||||
self.uDevices[fd] = UInput.from_device(self.iDevices[fd].fn)
|
self.uDevices[fd] = UInput.from_device(self.iDevices[fd].fn)
|
||||||
self.iDevices[fd].grab()
|
self.iDevices[fd].grab()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)
|
self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: grabing not possible: ' + str(e),debug.debugLevel.ERROR)
|
||||||
def releaseDevices(self):
|
def releaseDevices(self):
|
||||||
for fd in self.iDevices:
|
for fd in self.iDevices:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user