3544: Narrated web report does not get created

svn: r15198
This commit is contained in:
Doug Blank 2010-04-17 21:58:20 +00:00
parent d66ba3430a
commit 92dd34a742

View File

@ -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"):