Added try/except to exif tag import
svn: r13854
This commit is contained in:
parent
108ff236f7
commit
f76d9c9aad
@ -111,7 +111,11 @@ from libhtmlbackend import HtmlBackend
|
|||||||
|
|
||||||
# if the pyexiv2 library is installed, look for libexiftags
|
# if the pyexiv2 library is installed, look for libexiftags
|
||||||
# from src/plugins/lib/libexiftags.py
|
# from src/plugins/lib/libexiftags.py
|
||||||
from libexiftags import ExifKeyTags
|
try:
|
||||||
|
from libexiftags import ExifKeyTags
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# constants
|
# constants
|
||||||
|
Loading…
x
Reference in New Issue
Block a user