From 73f26b9547485b30ee8fa4534724f635407ac208 Mon Sep 17 00:00:00 2001 From: Yechiel K Date: Thu, 7 May 2020 09:34:16 -0400 Subject: [PATCH] fix max_size for gifs --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index aa6872f..5c4b700 100644 --- 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 = 15360 + max_size = 14648 else: max_size = 4883 -- 2.25.1