fix the max filesize for gifs
authorYechiel K <contact@yechiel.me>
Wed, 1 Jul 2020 23:36:26 +0000 (19:36 -0400)
committerYechiel K <contact@yechiel.me>
Wed, 1 Jul 2020 23:36:26 +0000 (19:36 -0400)
tweepy/api.py

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