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()
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: