Use mimetypes.guess_type as fallback for determining image file type
authorHarmon <Harmon758@gmail.com>
Sun, 2 Aug 2020 19:49:41 +0000 (14:49 -0500)
committerHarmon <Harmon758@gmail.com>
Sun, 2 Aug 2020 19:49:41 +0000 (14:49 -0500)
commit7c60eddc42f614a3362ab63dcd4792b289edd379
tree184bad89fc004c74eda0babe1b7e98871d2ceb28
parente56c091b66d629d377221439db75217509884f90
Use mimetypes.guess_type as fallback for determining image file type

Fixes #1411, regression introduced with #1086 where imghdr.what is unable to determine the file type
tweepy/api.py