Update evdevDriver.py

This commit is contained in:
chrys87 2018-05-14 14:26:57 +02:00 committed by GitHub
parent 521f551b84
commit 662cfd2e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,7 +260,7 @@ class driver(inputDriver):
return return
except KeyError: except KeyError:
pass pass
if not self.uDevices[fd]: if self.uDevices[fd] != None:
return return
try: try:
self.uDevices[fd] = UInput.from_device(self.iDevices[fd]) self.uDevices[fd] = UInput.from_device(self.iDevices[fd])