aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 2f7868b..7cc7f1b 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -766,6 +766,10 @@ class Mastodon:
766 Returns a list of `user dicts`_. 766 Returns a list of `user dicts`_.
767 """ 767 """
768 params = self.__generate_params(locals()) 768 params = self.__generate_params(locals())
769
770 if params["following"] == False:
771 del params["following"]
772
769 return self.__api_request('GET', '/api/v1/accounts/search', params) 773 return self.__api_request('GET', '/api/v1/accounts/search', params)
770 774
771 @api_version("2.1.0", "2.1.0", __DICT_VERSION_LIST) 775 @api_version("2.1.0", "2.1.0", __DICT_VERSION_LIST)
Powered by cgit v1.2.3 (git 2.41.0)