Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kapllan committed Jun 2, 2023
2 parents f551099 + e80424c commit 0a71799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@

def make_boolean(value):
value_capitalized = str(value).lower().title()
if literal_eval(value_capitalized) in [True, False]:
if literal_eval(value_capitalized) in [True, False, None]:
return literal_eval(str(value).title())
else:
return value
Expand Down

0 comments on commit 0a71799

Please sign in to comment.