fixing bug
This commit is contained in:
parent
0d65dd7686
commit
0b5d8d46d1
File diff suppressed because it is too large
Load diff
|
@ -69,6 +69,7 @@ class User(UserMixin, Thing):
|
||||||
@property
|
@property
|
||||||
def individual(self):
|
def individual(self):
|
||||||
"""The individual associated for this database, or None."""
|
"""The individual associated for this database, or None."""
|
||||||
|
if self.individuals:
|
||||||
return next(iter(self.individuals), None)
|
return next(iter(self.individuals), None)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Reference in a new issue