Skip to content

Commit

Permalink
#2 finished/fixed 13-C1
Browse files Browse the repository at this point in the history
  • Loading branch information
karacolada committed Feb 16, 2024
1 parent a269d1d commit ea39e78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fuji_server/evaluators/fair_evaluator_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def nestedDataContainsKeyword(self, data, key):
f"Can only recursively scan lists and dictionaries, but received data of type {type(data)}."
)
for d in values:
if type(d) == bytes:
d = d.decode("utf-8")
if type(d) == str:
if key in d.lower():
return True
Expand Down

0 comments on commit ea39e78

Please sign in to comment.