Commit b5f5f042 authored by Biagio's avatar Biagio

eId fix

parent a5e9b5f5
......@@ -53,7 +53,7 @@ class _Base:
if parent_eid is not None and self._eid is not None:
return f"{parent_eid}__{self._eid}"
# assert self._eid is not None, "here!"
return f"{self._eid}"
return self._eid
def eid(self, eid):
......@@ -254,7 +254,7 @@ class Base(_Base):
my_node = etree_element(self.tag)
if self.eid:
my_node.set("eId", self.eid)
my_node.set("eId", f"{self.eid}")
if self.num:
num = etree_element("num")
num.text = self.num
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment