7261: Import GEDCOM file from MyHeritage, added __str__ to Attribute
This commit is contained in:
parent
4358bb9f94
commit
9ddc1cb487
@ -67,6 +67,9 @@ class AttributeRoot(SecondaryObject, PrivacyBase):
|
|||||||
self.type = None
|
self.type = None
|
||||||
self.value = None
|
self.value = None
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return str(self.value)
|
||||||
|
|
||||||
def serialize(self):
|
def serialize(self):
|
||||||
"""
|
"""
|
||||||
Convert the object to a serialized tuple of data.
|
Convert the object to a serialized tuple of data.
|
||||||
|
Loading…
Reference in New Issue
Block a user