summaryrefslogtreecommitdiff
path: root/bin
diff options
authorPo-Hsu Lin <po-hsu.lin@canonical.com>2014-08-19 12:14:48 +0800
committerPo-Hsu Lin <po-hsu.lin@canonical.com>2014-08-19 12:14:48 +0800
commit878e8935815895b89c7b5f72d14b185fe7af9a1f (patch)
tree3d44eee6b696fde000bd6c1c0891c4817226aee9 /bin
parent4f46644f162ad657cb48b4c32d009ebf2e201ccd (diff)
touchpad_driver_info: easy fix for making device category consistent with the job requirement
Diffstat (limited to 'bin')
-rwxr-xr-xbin/touchpad_driver_info2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/touchpad_driver_info b/bin/touchpad_driver_info
index 3f38968..431b874 100755
--- a/bin/touchpad_driver_info
+++ b/bin/touchpad_driver_info
@@ -15,7 +15,7 @@ class TouchResult:
attributes = {}
def addDevice(self, device):
- if getattr(device, 'category') == 'TOUCH':
+ if getattr(device, 'category') == 'TOUCHPAD':
self.attributes['driver'] = getattr(device, 'driver')
self.attributes['product'] = getattr(device, 'product')