From 84a1b94ac25071c6bf11a1aad98e6ecbf4c31f63 Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 22 May 2018 20:56:45 +0200 Subject: [PATCH] add debug --- src/fenrirscreenreader/inputDriver/evdevDriver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: