From d71a36b2404112946fcd6b076cded08b02361a00 Mon Sep 17 00:00:00 2001 From: Josip Date: Sun, 24 May 2015 12:13:54 +0200 Subject: [PATCH] 8579: Creation of Narration Website report fails --- gramps/plugins/webreport/narrativeweb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 570c7a2af..1fa115d45 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -517,8 +517,8 @@ def format_date(date): cal = date.get_calendar() mod = date.get_modifier() quality = date.get_quality() - if quality in libgedcom.DATE_QUALITY: - qual_text = libgedcom.DATE_QUALITY[quality] + " " + if quality in DATE_QUALITY: + qual_text = DATE_QUALITY[quality] + " " else: qual_text = "" if mod == Date.MOD_SPAN: