projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ade729
)
Handle boolean value for API.verify_credentials include_email parameter
author
Harmon
<Harmon758@gmail.com>
Wed, 28 Aug 2019 19:40:08 +0000
(14:40 -0500)
committer
Harmon
<Harmon758@gmail.com>
Wed, 28 Aug 2019 19:40:54 +0000
(14:40 -0500)
Resolves #890
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 3e6897ba16fd805be05c5a907ba6ce077e47c489..56d66cf3b7e343d593e42f67baa623b24165bb52 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-648,6
+648,8
@@
class API(object):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-verify_credentials
:allowed_param: 'include_entities', 'skip_status', 'include_email'
"""
+ if "include_email" in kwargs:
+ kwargs["include_email"] = str(kwargs["include_email"]).lower()
try:
return bind_api(
api=self,