Commit 726e3e56 authored by Michal Čihař's avatar Michal Čihař

Fix check_highlight call

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 06d3d048
......@@ -89,7 +89,7 @@ def fmt_check_highlights(value, checks):
if checks:
highlights = []
for check in checks:
highlights += check.check_highlight(value, None)
highlights += check.check_obj.check_highlight(value, None)
#Sort by order in string
if highlights:
highlights.sort(key=lambda tup: tup[0])
......
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