aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-14 01:02:37 +0200
committerLorenz Diener <[email protected]>2018-07-14 01:02:37 +0200
commit82cc87b49b2e0781470e6b1276fac455ad4190e8 (patch)
treebaca6e2f78862aef2ecef3097c25a6f8e75546ec
parent58c3f745c372197e29b8ae0072c967cac414d98e (diff)
downloadmastodon.py-82cc87b49b2e0781470e6b1276fac455ad4190e8.tar.gz
Fix #138
-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)