No more EXIF, for real. Use exifread. This should fix recent import EXIF failures.

This commit sponsored by Aaron Whitehouse.  Thank you!
This commit is contained in:
Christopher Allan Webber 2014-04-06 13:58:47 -05:00
parent b19491c535
commit bfb99d65f4

View File

@ -14,10 +14,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
sys.path.append('extlib/exif')
from EXIF import process_file
from exifread import process_file
from exifread.utils import Ratio
from mediagoblin.processing import BadMediaFail