From 662cfd2e2d99f3d447c722f5a945d9d5724d997c Mon Sep 17 00:00:00 2001 From: chrys87 Date: Mon, 14 May 2018 14:26:57 +0200 Subject: [PATCH] Update evdevDriver.py --- src/fenrirscreenreader/inputDriver/evdevDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/inputDriver/evdevDriver.py b/src/fenrirscreenreader/inputDriver/evdevDriver.py index 0c6cf903..e0336d35 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -260,7 +260,7 @@ class driver(inputDriver): return except KeyError: pass - if not self.uDevices[fd]: + if self.uDevices[fd] != None: return try: self.uDevices[fd] = UInput.from_device(self.iDevices[fd])