8579: Creation of Narration Website report fails

This commit is contained in:
Josip 2015-05-24 12:20:00 +02:00
parent 75cc4fb721
commit b363360ac8

View File

@ -511,8 +511,8 @@ def format_date(date):
cal = date.get_calendar() cal = date.get_calendar()
mod = date.get_modifier() mod = date.get_modifier()
quality = date.get_quality() quality = date.get_quality()
if quality in libgedcom.DATE_QUALITY: if quality in DATE_QUALITY:
qual_text = libgedcom.DATE_QUALITY[quality] + " " qual_text = DATE_QUALITY[quality] + " "
else: else:
qual_text = "" qual_text = ""
if mod == Date.MOD_SPAN: if mod == Date.MOD_SPAN: