From: Yechiel K Date: Thu, 7 May 2020 13:34:16 +0000 (-0400) Subject: fix max_size for gifs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=73f26b9547485b30ee8fa4534724f635407ac208;p=tweepy.git fix max_size for gifs --- 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