projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f37c8b
)
Fix return for Client.unfollow
author
Harmon
<Harmon758@gmail.com>
Sat, 26 Feb 2022 19:37:41 +0000
(13:37 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 26 Feb 2022 19:37:41 +0000
(13:37 -0600)
Properly return response from Client.unfollow_user rather than None
tweepy/client.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/client.py
b/tweepy/client.py
index 0e96b4b3303a474e69aad1594ea1d38614202371..952c90c0c956fe706deea174ea3fde1236497f46 100644
(file)
--- a/
tweepy/client.py
+++ b/
tweepy/client.py
@@
-1525,7
+1525,7
@@
class Client(BaseClient):
"Client.unfollow is deprecated; use Client.unfollow_user instead.",
DeprecationWarning
)
- self.unfollow_user(target_user_id, user_auth=user_auth)
+
return
self.unfollow_user(target_user_id, user_auth=user_auth)
def get_users_followers(self, id, *, user_auth=False, **params):
"""get_users_followers( \