Doug Blanks fix from trunk for bug #2105

svn: r11033
This commit is contained in:
Gary Burton 2008-09-06 20:53:19 +00:00
parent 1e871c9b0b
commit e0a7418457

View File

@ -1710,7 +1710,7 @@ class GrampsParser(UpdateCallback):
rng_day = 0 rng_day = 0
if attrs.has_key("cformat"): if attrs.has_key("cformat"):
cal = gen.lib.Date.calendar.index(attrs['calendar']) cal = gen.lib.Date.calendar_names.index(attrs['calendar'])
else: else:
cal = gen.lib.Date.CAL_GREGORIAN cal = gen.lib.Date.CAL_GREGORIAN