diff --git a/evdev/uinput.py b/evdev/uinput.py index 26648c0..2c6b980 100644 --- a/evdev/uinput.py +++ b/evdev/uinput.py @@ -272,7 +272,7 @@ def _verify(self): m = os.stat(self.devnode)[stat.ST_MODE] assert stat.S_ISCHR(m) except (IndexError, OSError, AssertionError): - msg = '"{}" does not exist or is not a character device file ' "- verify that the uinput module is loaded" + msg = '"{}" does not exist or is not a character device file - verify that the uinput module is loaded' raise UInputError(msg.format(self.devnode)) if not os.access(self.devnode, os.W_OK):