projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e17cb4
)
Fix reference to pinned_tweet_id in User
author
Harmon
<Harmon758@gmail.com>
Sat, 1 May 2021 16:16:29 +0000
(11:16 -0500)
committer
Harmon
<Harmon758@gmail.com>
Sat, 1 May 2021 16:16:29 +0000
(11:16 -0500)
tweepy/user.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/user.py
b/tweepy/user.py
index 93dd4298cea2400c12235f425bf604cf84108510..2a6afd2e8b689787371a9422204ae8aabe0fea47 100644
(file)
--- a/
tweepy/user.py
+++ b/
tweepy/user.py
@@
-33,7
+33,7
@@
class User(HashableID, DataMapping):
self.pinned_tweet_id = data.get("pinned_tweet_id")
if self.pinned_tweet_id is not None:
- self.pinned_tweet_id = int(pinned_tweet_id)
+ self.pinned_tweet_id = int(
self.
pinned_tweet_id)
self.profile_image_url = data.get("profile_image_url")
self.protected = data.get("protected")