mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 22:50:27 +01:00
tools: measure-fuzz: handle a None return correctly
Fixes #472 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
58cf854124
commit
3ec74cfc35
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ def test_hwdb_entry(device, fuzz):
|
|||
|
||||
d = Device(device.path)
|
||||
f = d.check_axes()
|
||||
if fuzz == f[0] and fuzz == f[1]:
|
||||
if f is not None and fuzz == f[0] and fuzz == f[1]:
|
||||
print_green('Success')
|
||||
return True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue