From f76d9c9aad6cc93e3cb29b91ece106215ad395f8 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 20 Dec 2009 02:32:01 +0000 Subject: [PATCH] Added try/except to exif tag import svn: r13854 --- src/plugins/webreport/NarrativeWeb.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index e789632c8..fd5fa80ce 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -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