No more EXIF, for real. Use exifread. This should fix recent import EXIF failures.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 6 Apr 2014 18:58:47 +0000 (13:58 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 6 Apr 2014 18:58:47 +0000 (13:58 -0500)
This commit sponsored by Aaron Whitehouse.  Thank you!

mediagoblin/tools/exif.py

index acbf3179467a2f83b35cc73feb6137ebb3bde727..50f1aabfca517366d5e4d48211f6ca13b845daab 100644 (file)
 # 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