This commit is contained in:
Aevann1 2021-07-25 00:04:42 +02:00
parent c300ccff52
commit 16be847986

View file

@ -444,7 +444,7 @@ def get_comments(cids, v=None, sort="new",
output = g.db.query(Comment).options().filter(Comment.id.in_(cids)).order_by(Comment.id.desc()).all()
output = sorted(output, key=lambda x: cids.index(x.id))
return sorted(output, key=lambda x: cids.index(x.id))
def get_board(bid, graceful=False):