0002105: Failed to import from xml: typo

svn: r10623
This commit is contained in:
Doug Blank 2008-04-22 23:18:35 +00:00
parent 4a9a251065
commit 4a17bcf0aa

View File

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