diff --git a/doc/wccl-qa.py b/doc/wccl-qa.py index e80d79703382c2ac2d5dddb5dafc37ada578dc8e..9d32abe9e86fa807e3d1292eecc5752a1c745759 100755 --- a/doc/wccl-qa.py +++ b/doc/wccl-qa.py @@ -168,7 +168,7 @@ def go(): if not summary.values(): continue max_value = max(summary.values()) - if qtype_dict.values().count(max_value) == 1: + if summary.values().count(max_value) == 1: max_label = max(summary.keys(), key=lambda k: summary[k]) break