diff options
-rwxr-xr-x | entities/person.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entities/person.py b/entities/person.py index 46ed315..63f014f 100755 --- a/entities/person.py +++ b/entities/person.py @@ -68,8 +68,8 @@ class Person(BasicEntity): def print_entity(self): print("Name = " + self.name) - print("Birth year = " + self.date_of_birth) - print("Death year = " + self.date_of_death) + print("Birth year = " + str(self.date_of_birth)) + print("Death year = " + str(self.date_of_death)) print("Names in langs = " + str(self.name_in_langs)) print("Bio Data = " + json.dumps(self.bio_data)) print("Comments = " + json.dumps(self.comments_list)) |