Merge pull request #1086 from shuuji3/allow-image-filename-without-extension
authorHarmon <Harmon758@gmail.com>
Thu, 13 Feb 2020 21:27:30 +0000 (15:27 -0600)
committerGitHub <noreply@github.com>
Thu, 13 Feb 2020 21:27:30 +0000 (15:27 -0600)
Allow image filenames without extension

1  2 
tweepy/api.py

diff --cc tweepy/api.py
index 1959383aaf76ef7a2bb14b8d04c83bb27154365f,ecf9c2bb991118a06ef50921a4969cae52baae60..a51d32df926cf36c4f354ef7b27f0c86812a1551
@@@ -1,8 -1,8 +1,8 @@@
  # Tweepy
 -# Copyright 2009-2019 Joshua Roesslein
 +# Copyright 2009-2020 Joshua Roesslein
  # See LICENSE for details.
  
- import mimetypes
+ import imghdr
  import os
  
  import six