Don't crash on rendering link that doesn't exist in narrative web output
svn: r19728
This commit is contained in:
parent
40ca28cd60
commit
982fa97fb3
@ -7556,7 +7556,8 @@ class NavWebReport(Report):
|
|||||||
# FIXME: no family page in NarWeb
|
# FIXME: no family page in NarWeb
|
||||||
return None
|
return None
|
||||||
else:
|
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
|
return self.build_url_fname(handle, subdir, up) + self.ext
|
||||||
|
|
||||||
def build_url_fname(self, fname, subdir = None, up = False):
|
def build_url_fname(self, fname, subdir = None, up = False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user