1
Fork 0
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:
Steffo 2019-01-15 00:19:29 +01:00
parent fa296f8426
commit 686e9975bc

2
db.py
View file

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