Commit 3ec74cfc authored by Peter Hutterer's avatar Peter Hutterer

tools: measure-fuzz: handle a None return correctly

Fixes #472
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 58cf8541
Pipeline #141109 passed with stages
in 29 minutes and 44 seconds
......@@ -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]:
return True
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment