From c96a8b85b99dd210de26b5a7a6eea2428245fed8 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 30 Sep 2015 06:39:00 -0400 Subject: [PATCH] if s_tagvalue is None: --- gramps/gen/plug/docbackend/docbackend.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gramps/gen/plug/docbackend/docbackend.py b/gramps/gen/plug/docbackend/docbackend.py index f10a4068f..4c6d0c6e5 100644 --- a/gramps/gen/plug/docbackend/docbackend.py +++ b/gramps/gen/plug/docbackend/docbackend.py @@ -222,8 +222,6 @@ class DocBackend(object): return self.format_link(s_tag.value) typeval = int(s_tag.name) s_tagvalue = s_tag.value - if s_tagvalue is None: - return None tag_name = None if tagtype.STYLE_TYPE[typeval] == bool: return self.STYLETAG_MARKUP[self.STYLETYPE_MAP[typeval]]