From 92dd34a742dcdfbf5adc5eb65f0053f96df33a8c Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 17 Apr 2010 21:58:20 +0000 Subject: [PATCH] 3544: Narrated web report does not get created svn: r15198 --- src/plugins/webreport/NarrativeWeb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index f428b28d7..9b864d826 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1127,6 +1127,8 @@ class BasePage(object): pic_id = self.report.options[option_name] if pic_id: obj = db.get_object_from_gramps_id(pic_id) + if obj is None: + return None obj_handle = obj.handle mime_type = obj.get_mime_type() if mime_type and mime_type.startswith("image"):