diff --git a/src/fenrirscreenreader/inputDriver/evdevDriver.py b/src/fenrirscreenreader/inputDriver/evdevDriver.py index 286c5c3f..6b7e84e6 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -327,8 +327,8 @@ class driver(inputDriver): return try: 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 + self.env['runtime']['debug'].writeDebugOut("Device grabbed: " + self.iDevices[fd].name, debug.debugLevel.INFO) except IOError: self.gDevices[fd] = True except Exception as e: