Skip to content

Commit

Permalink
Merge pull request #221 from zen-tools/master
Browse files Browse the repository at this point in the history
fix a typo in __json_truefalse_parse function
  • Loading branch information
arittner authored Jun 24, 2022
2 parents e9d2c3d + 0f92f77 commit 243d7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mastodon/Mastodon.py
Original file line number Diff line number Diff line change
Expand Up @@ -3230,7 +3230,7 @@ def __json_truefalse_parse(json_object):
if (key in json_object and isinstance(json_object[key], six.text_type)):
if json_object[key].lower() == 'true':
json_object[key] = True
if json_object[key].lower() == 'False':
if json_object[key].lower() == 'false':
json_object[key] = False
return json_object

Expand Down

0 comments on commit 243d7a2

Please sign in to comment.