projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1787f0
)
Fix return for Client.follow
author
Harmon
<Harmon758@gmail.com>
Sat, 26 Feb 2022 19:38:32 +0000
(13:38 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 26 Feb 2022 19:38:32 +0000
(13:38 -0600)
Properly return response from Client.follow_user rather than None
tweepy/client.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/client.py
b/tweepy/client.py
index 952c90c0c956fe706deea174ea3fde1236497f46..e6333dba522db776d62b7b36034e931ea6baa3e7 100644
(file)
--- a/
tweepy/client.py
+++ b/
tweepy/client.py
@@
-1671,7
+1671,7
@@
class Client(BaseClient):
"Client.follow is deprecated; use Client.follow_user instead.",
DeprecationWarning
)
- self.follow_user(target_user_id, user_auth=user_auth)
+
return
self.follow_user(target_user_id, user_auth=user_auth)
# Mutes