From: Christopher Allan Webber Date: Sun, 6 Apr 2014 18:58:47 +0000 (-0500) Subject: No more EXIF, for real. Use exifread. This should fix recent import EXIF failures. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bfb99d65f4e92d018a73b67bed2cea9d629a41e2;p=mediagoblin.git No more EXIF, for real. Use exifread. This should fix recent import EXIF failures. This commit sponsored by Aaron Whitehouse. Thank you! --- diff --git a/mediagoblin/tools/exif.py b/mediagoblin/tools/exif.py index acbf3179..50f1aabf 100644 --- a/mediagoblin/tools/exif.py +++ b/mediagoblin/tools/exif.py @@ -14,10 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -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