insure a string is always returned from __str__
This commit is contained in:
parent
61f84ca4bc
commit
22b7c56551
|
@ -92,7 +92,7 @@ class Identity(StorableObject):
|
|||
return self.name
|
||||
if self.email:
|
||||
return self.email
|
||||
return self.id
|
||||
return str(self.id)
|
||||
|
||||
def migrate(self):
|
||||
if hasattr(self, 'uid'):
|
||||
|
|
Reference in New Issue