fixing bug

This commit is contained in:
Cayo Puigdefabregas 2022-04-13 13:27:58 +02:00
parent 0d65dd7686
commit 0b5d8d46d1
2 changed files with 2 additions and 4422 deletions

File diff suppressed because it is too large Load diff

View file

@ -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