forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-07-25 04:30:32 +02:00
parent fcd59d401f
commit b070cb4a78
1 changed files with 1 additions and 4 deletions

View File

@ -337,16 +337,13 @@ def get_comment(cid, v=None, graceful=False, **kwargs):
x._is_blocked = block and block.target_id == v.id
else:
q = g.db.query(
x = g.db.query(
Comment,
).filter(Comment.id == i).first()
if not q and not graceful:
abort(404)
x=q[0]
x._is_exiled_for=q[1]
return x