From b363360ac82d5c913183ea28fb9f26d88f6fa819 Mon Sep 17 00:00:00 2001 From: Josip Date: Sun, 24 May 2015 12:20:00 +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 17435db37..800615e26 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -511,8 +511,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: