make exif a submodule

Updates it to latest which includes a fix for a 100% hang on a jpg without any EXIF data:
https://www.dropbox.com/s/m5l185qxq9w5mzk/raspberry-pi-gpio-cheat-sheet.jpg

Signed-off-by: Alon Levy <alon@pobox.com>
This commit is contained in:
Alon Levy
2014-03-01 21:52:14 +02:00
parent 1b4a9f2605
commit 5e262d8bf5
7 changed files with 9 additions and 2033 deletions

View File

@@ -14,10 +14,11 @@
# 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/>.
try:
from EXIF import process_file, Ratio
except ImportError:
from mediagoblin.tools.extlib.EXIF import process_file, Ratio
import sys
sys.path.append('extlib/exif')
from EXIF import process_file
from exifread.utils import Ratio
from mediagoblin.processing import BadMediaFail
from mediagoblin.tools.translate import pass_to_ugettext as _

View File

@@ -1 +0,0 @@
../../../extlib/exif/EXIF.py