parent
71542a86c4
commit
8af43a3a05
753
fenrir.log
753
fenrir.log
File diff suppressed because one or more lines are too long
@ -327,7 +327,6 @@ class driver(inputDriver):
|
|||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
self.iDevices[fd].grab()
|
self.iDevices[fd].grab()
|
||||||
self.env['runtime']['debug'].writeDebugOut("Device grabbed: " + self.iDevices[fd].name, debug.debugLevel.INFO)
|
|
||||||
self.gDevices[fd] = True
|
self.gDevices[fd] = True
|
||||||
except IOError:
|
except IOError:
|
||||||
self.gDevices[fd] = True
|
self.gDevices[fd] = True
|
||||||
@ -338,8 +337,7 @@ class driver(inputDriver):
|
|||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
self.gDevices[fd] = False
|
self.gDevices[fd] = False
|
||||||
self.iDevices[fd].ungrab()
|
self.iDevices[fd].ungrab()
|
||||||
self.env['runtime']['debug'].writeDebugOut("Device ungrabbed: " + self.iDevices[fd].name, debug.debugLevel.INFO)
|
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
def removeDevice(self,fd):
|
def removeDevice(self,fd):
|
||||||
|
Loading…
Reference in New Issue
Block a user