fix max_size for gifs
authorYechiel K <contact@yechiel.me>
Thu, 7 May 2020 13:34:16 +0000 (09:34 -0400)
committerYechiel K <contact@yechiel.me>
Thu, 7 May 2020 13:34:16 +0000 (09:34 -0400)
tweepy/api.py

index aa6872f472ca2c2c288dc43f12ce0acbbb3b0f79..5c4b70010dd424bc97786ffe6589ccaf3048803c 100644 (file)
@@ -222,7 +222,7 @@ class API(object):
 
         file_type = imghdr.what(filename)
         if file_type == 'gif':
-            max_size = 15360
+            max_size = 14648
         else:
             max_size = 4883