if imghdr . what ( img ) == None : # Some images from google can be broken, so we checking it there