remove unnecessary all()

master
Aevann 2023-08-11 16:14:50 +03:00
parent 930c1d4c83
commit 3306238d84
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ def blocks(v):
blocks = g.db.query(UserBlock).options( blocks = g.db.query(UserBlock).options(
joinedload(UserBlock.user), joinedload(UserBlock.user),
joinedload(UserBlock.target), 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) return render_template("blocks.html", v=v, blocks=blocks)