diff --git a/drama/helpers/get.py b/drama/helpers/get.py index 1413cb8b90..7e816fe4b7 100644 --- a/drama/helpers/get.py +++ b/drama/helpers/get.py @@ -404,7 +404,7 @@ def get_comments(cids, v=None, load_parent=False, **kwargs): Comment.id.in_(cids) ).all() - output=[x[0] for x in query] + output=[x for x in query] output = sorted(output, key=lambda x: cids.index(x.id))