diff --git a/files/helpers/get.py b/files/helpers/get.py index 05644fa5a..e10ef0a1d 100644 --- a/files/helpers/get.py +++ b/files/helpers/get.py @@ -163,11 +163,11 @@ def get_comment(i, v=None, graceful=False, **kwargs): if v: - items = g.db.query(Comment) - - comment=items.filter(Comment.id == i).first() + comment=g.db.query(Comment).filter(Comment.id == i).first() + print("sex") if not comment and not graceful: abort(404) + print("fuck") block = g.db.query(UserBlock).filter( or_(