mirror of
https://github.com/RYGhub/royalnet.git
synced 2025-02-25 06:05:03 +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:
|
for connection in chain:
|
||||||
start = start.join(connection.mapper.class_)
|
start = start.join(connection.mapper.class_)
|
||||||
start = start.filter(Royal.id == royal.id)
|
start = start.filter(Royal.id == royal.id)
|
||||||
mini = start.one()
|
mini = start.one_or_none()
|
||||||
return mini
|
return mini
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue