From 0f92f778dc2c4ce2b1737383fc574d0de032659a Mon Sep 17 00:00:00 2001 From: ZEN Date: Sun, 14 Feb 2021 08:38:34 +0200 Subject: __json_truefalse_parse: fix a typo --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 98ac72a..4c7cb62 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -3230,7 +3230,7 @@ class Mastodon: 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 -- cgit v1.2.3