From 5dfa4d897f570e6f39255ef6b8d0e88851ffec8c Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 15 Sep 2017 00:29:39 +0200 Subject: [PATCH] catch crash --- src/fenrir/core/inputManager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fenrir/core/inputManager.py b/src/fenrir/core/inputManager.py index 2620eab0..139ed4c6 100644 --- a/src/fenrir/core/inputManager.py +++ b/src/fenrir/core/inputManager.py @@ -105,7 +105,10 @@ class inputManager(): self.env['runtime']['inputDriver'].grabAllDevices() def updateInputDevices(self): - self.env['runtime']['inputDriver'].updateInputDevices() + try: + self.env['runtime']['inputDriver'].updateInputDevices() + except: + pass def removeAllDevices(self): try: