Fix file size limit for media_upload
authorElad Alfassa <elad@fedoraproject.org>
Sun, 3 Apr 2016 15:49:10 +0000 (18:49 +0300)
committerElad Alfassa <elad@fedoraproject.org>
Sun, 3 Apr 2016 15:49:10 +0000 (18:49 +0300)
commit355b496d1ab08d55b0ce5be941927775d61e1f07
tree8bf61d58e0a05f5d6b680f0b202becf1ca0e510a
parentcd46550b3ef068857f5de9c37bbdd0a72acb7462
Fix file size limit for media_upload

According to https://dev.twitter.com/rest/reference/post/media/upload
the limit of this endpoint is 5MB (which is 4883KiB) per file.
tweepy/api.py