From: Yechiel K Date: Wed, 1 Jul 2020 23:36:26 +0000 (-0400) Subject: fix the max filesize for gifs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3a40b613446984d7b804add229324a3750929a81;p=tweepy.git fix the max filesize for gifs --- 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