forked from MarseyWorld/MarseyWorld
remove unnecessary all()
parent
930c1d4c83
commit
3306238d84
|
@ -344,7 +344,7 @@ def blocks(v):
|
|||
blocks = g.db.query(UserBlock).options(
|
||||
joinedload(UserBlock.user),
|
||||
joinedload(UserBlock.target),
|
||||
).order_by(UserBlock.created_utc.desc()).all()
|
||||
).order_by(UserBlock.created_utc.desc())
|
||||
|
||||
return render_template("blocks.html", v=v, blocks=blocks)
|
||||
|
||||
|
|
Loading…
Reference in New Issue