forked from rDrama/rDrama
fix 500 error
parent
c4953d924e
commit
e243458338
|
@ -166,6 +166,7 @@ def post_id(pid, anything=None, v=None, sub=None):
|
||||||
post.views += 1
|
post.views += 1
|
||||||
g.db.add(post)
|
g.db.add(post)
|
||||||
|
|
||||||
|
if v:
|
||||||
y, output = get_comments_v_properties(v, True, None, Comment.top_comment_id.in_(ids), Comment.level < 10)
|
y, output = get_comments_v_properties(v, True, None, Comment.top_comment_id.in_(ids), Comment.level < 10)
|
||||||
|
|
||||||
if v and v.client:
|
if v and v.client:
|
||||||
|
|
Loading…
Reference in New Issue