mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Not sure how or why but it works
This commit is contained in:
parent
fa296f8426
commit
686e9975bc
1 changed files with 1 additions and 1 deletions
2
db.py
2
db.py
|
@ -106,7 +106,7 @@ class Mini(object):
|
|||
for connection in chain:
|
||||
start = start.join(connection.mapper.class_)
|
||||
start = start.filter(Royal.id == royal.id)
|
||||
mini = start.one()
|
||||
mini = start.one_or_none()
|
||||
return mini
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue