diff options
author | Aljoscha Rittner <[email protected]> | 2022-06-24 16:22:38 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-24 16:22:38 +0200 |
commit | 243d7a2c55df788738a4f86978ffac149fde89bd (patch) | |
tree | 2f4155cd9b7ee61ce899deaeae970b24a261898d | |
parent | e9d2c3d53f7b1d371e5dc5bf47e5fe335b698c85 (diff) | |
parent | 0f92f778dc2c4ce2b1737383fc574d0de032659a (diff) | |
download | mastodon.py-243d7a2c55df788738a4f86978ffac149fde89bd.tar.gz |
Merge pull request #221 from zen-tools/master
fix a typo in __json_truefalse_parse function
-rw-r--r-- | mastodon/Mastodon.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
3230 | if (key in json_object and isinstance(json_object[key], six.text_type)): | 3230 | if (key in json_object and isinstance(json_object[key], six.text_type)): |
3231 | if json_object[key].lower() == 'true': | 3231 | if json_object[key].lower() == 'true': |
3232 | json_object[key] = True | 3232 | json_object[key] = True |
3233 | if json_object[key].lower() == 'False': | 3233 | if json_object[key].lower() == 'false': |
3234 | json_object[key] = False | 3234 | json_object[key] = False |
3235 | return json_object | 3235 | return json_object |
3236 | 3236 | ||