Handle None __str__
This commit is contained in:
parent
5ef97645cb
commit
f4a224f3d7
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ Involved scientist''')
|
||||||
return " ".join([self.title, self.first_name, self.last_name])
|
return " ".join([self.title, self.first_name, self.last_name])
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.fullname()
|
return self.fullname() if self.fullname() else ""
|
||||||
|
|
||||||
def dict(self):
|
def dict(self):
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue