Skip to content

Commit

Permalink
rank_attribute: convert to str to lower()
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-wahl committed Jan 23, 2025
1 parent a1cdd4c commit 977d887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/metrics/rank_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def missing_value_placeholder(data, field_name):
values = self.get_values(post, columns, filter, split_comma, extract)
for value in values:
if to_lowercase:
value = value.lower()
value = str(value).lower()
if value not in overall_top:
overall_top[value] = 0

Expand Down

0 comments on commit 977d887

Please sign in to comment.