Added try/except to exif tag import

svn: r13854
This commit is contained in:
Doug Blank 2009-12-20 02:32:01 +00:00
parent 108ff236f7
commit f76d9c9aad

View File

@ -111,7 +111,11 @@ from libhtmlbackend import HtmlBackend
# if the pyexiv2 library is installed, look for libexiftags
# from src/plugins/lib/libexiftags.py
from libexiftags import ExifKeyTags
try:
from libexiftags import ExifKeyTags
except ImportError:
pass
#------------------------------------------------------------------------
#
# constants