forked from MarseyWorld/MarseyWorld
fddf
parent
1a2ce00993
commit
550913d513
|
@ -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_(
|
||||
|
|
Loading…
Reference in New Issue