projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73f26b9
)
fix the max filesize for gifs
author
Yechiel K
<contact@yechiel.me>
Wed, 1 Jul 2020 23:36:26 +0000
(19:36 -0400)
committer
Yechiel K
<contact@yechiel.me>
Wed, 1 Jul 2020 23:36:26 +0000
(19:36 -0400)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 5c4b70010dd424bc97786ffe6589ccaf3048803c..b7b757b396f73269fe2dfe4d38b8e476be15913c 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 = 1464
8
+ max_size = 1464
9
else:
max_size = 4883