From 3a40b613446984d7b804add229324a3750929a81 Mon Sep 17 00:00:00 2001 From: Yechiel K Date: Wed, 1 Jul 2020 19:36:26 -0400 Subject: [PATCH] fix the max filesize for gifs --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index 5c4b700..b7b757b 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 = 14648 + max_size = 14649 else: max_size = 4883 -- 2.25.1