0002105: Failed to import from xml: typo
svn: r10623
This commit is contained in:
parent
4a9a251065
commit
4a17bcf0aa
@ -1737,7 +1737,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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user