projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8522e4f
)
fix max_size for gifs
author
Yechiel K
<contact@yechiel.me>
Thu, 7 May 2020 13:34:16 +0000
(09:34 -0400)
committer
Yechiel K
<contact@yechiel.me>
Thu, 7 May 2020 13:34:16 +0000
(09:34 -0400)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index aa6872f472ca2c2c288dc43f12ce0acbbb3b0f79..5c4b70010dd424bc97786ffe6589ccaf3048803c 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-222,7
+222,7
@@
class API(object):
file_type = imghdr.what(filename)
if file_type == 'gif':
- max_size = 1
5360
+ max_size = 1
4648
else:
max_size = 4883