From d70963c2a75f31c122afa6302427933b3c49336f Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 31 Jan 2017 11:05:10 +0100 Subject: [PATCH] define "e" --- src/fenrir/inputDriver/evdevDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/inputDriver/evdevDriver.py b/src/fenrir/inputDriver/evdevDriver.py index ac0af3cb..ca23c164 100644 --- a/src/fenrir/inputDriver/evdevDriver.py +++ b/src/fenrir/inputDriver/evdevDriver.py @@ -165,7 +165,7 @@ class driver(): for fd in self.iDevices: try: self.uDevices[fd] = UInput.from_device(self.iDevices[fd].fn) - except: + except Exception as e: try: self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: compat fallback: ' + str(e),debug.debugLevel.ERROR) dev = self.iDevices[fd]