From: sebdu66 <52951441+sebdu66@users.noreply.github.com> Date: Tue, 16 Jul 2019 11:45:59 +0000 (+0200) Subject: Add initiatory ordinance X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=4cf88183992794874b72e434f8cbffa1cdfeecdc;p=gamesguru%2Fgetmyancestors.git Add initiatory ordinance This update add the ordinance initiatory and add the WAC tag to the gedcom file --- diff --git a/getmyancestors.py b/getmyancestors.py index 8049b73..c8a0ee9 100755 --- a/getmyancestors.py +++ b/getmyancestors.py @@ -529,7 +529,7 @@ class Indi: self.parents = set() self.spouses = set() self.children = set() - self.baptism = self.confirmation = self.endowment = self.sealing_child = None + self.baptism = self.confirmation = self.initiatory = self.endowment = self.sealing_child = None self.nicknames = set() self.facts = set() self.birthnames = set() @@ -633,6 +633,8 @@ class Indi: self.baptism = Ordinance(o) elif o["type"] == "http://lds.org/Confirmation": self.confirmation = Ordinance(o) + elif o["type"] == "http://lds.org/Initiatory": + self.initiatory = Ordinance(o) elif o["type"] == "http://lds.org/Endowment": self.endowment = Ordinance(o) elif o["type"] == "http://lds.org/SealingChildToParents": @@ -684,6 +686,9 @@ class Indi: if self.confirmation: file.write("1 CONL\n") self.confirmation.print(file) + if self.initiatory: + file.write("1 WAC\n") + self.initiatory.print(file) if self.endowment: file.write("1 ENDL\n") self.endowment.print(file)