From 26fcd92f81eb70899a889ca81ef29c74e54127a3 Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 13 May 2018 23:16:22 +0200 Subject: [PATCH] fix function name --- src/fenrirscreenreader/inputDriver/evdevDriver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/inputDriver/evdevDriver.py b/src/fenrirscreenreader/inputDriver/evdevDriver.py index 0481d9f2..6e4b8ea9 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -250,7 +250,7 @@ class driver(inputDriver): if not self._initialized: return for fd in self.iDevices: - self.ungrabDevices(fd) + self.ungrabDevice(fd) def addDevice(self, fd): if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'): self.uDevices[fd] = None @@ -279,7 +279,7 @@ class driver(inputDriver): self.gDevices[fd] = True except Exception as e: self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: grabing not possible: ' + str(e),debug.debugLevel.ERROR) - def ungrabDevices(self,fd): + def ungrabDevice(self,fd): if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'): return try: @@ -290,7 +290,7 @@ class driver(inputDriver): def removeDevice(self,fd): self.clearEventBuffer() try: - self.ungrabDevices(fd) + self.ungrabDevice(fd) except: pass try: