Don't crash on rendering link that doesn't exist in narrative web output

svn: r19728
This commit is contained in:
Doug Blank 2012-05-31 17:13:00 +00:00
parent 40ca28cd60
commit 982fa97fb3

@ -7556,7 +7556,8 @@ class NavWebReport(Report):
# FIXME: no family page in NarWeb
return None
else:
raise AttributeError("unknown object type '%s'" % obj_class)
print ("NarrativeWeb ignoring link type '%s'" % obj_class)
return None
return self.build_url_fname(handle, subdir, up) + self.ext
def build_url_fname(self, fname, subdir = None, up = False):