diff --git a/src/GrampsDbUtils/_ReadXML.py b/src/GrampsDbUtils/_ReadXML.py index 2ea6cfa76..2800189f8 100644 --- a/src/GrampsDbUtils/_ReadXML.py +++ b/src/GrampsDbUtils/_ReadXML.py @@ -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