diff --git a/src/plugins/import/ImportXml.py b/src/plugins/import/ImportXml.py index 3ca00efbe..1ea4dfe5f 100644 --- a/src/plugins/import/ImportXml.py +++ b/src/plugins/import/ImportXml.py @@ -1748,7 +1748,7 @@ class GrampsParser(UpdateCallback): rng_day = 0 if "cformat" in attrs: - cal = gen.lib.Date.calendar_names.index(attrs['calendar']) + cal = gen.lib.Date.calendar_names.index(attrs['cformat']) else: cal = gen.lib.Date.CAL_GREGORIAN