fddf
This commit is contained in:
parent
3cd7d37331
commit
a3934dee6b
1 changed files with 0 additions and 3 deletions
|
@ -134,9 +134,7 @@ def api_comment(v):
|
||||||
# get parent item info
|
# get parent item info
|
||||||
parent_id = parent_fullname.split("_")[1]
|
parent_id = parent_fullname.split("_")[1]
|
||||||
if parent_fullname.startswith("t2"):
|
if parent_fullname.startswith("t2"):
|
||||||
print("sex")
|
|
||||||
parent_post = get_post(parent_id, v=v)
|
parent_post = get_post(parent_id, v=v)
|
||||||
print('fuck')
|
|
||||||
parent = parent_post
|
parent = parent_post
|
||||||
parent_comment_id = None
|
parent_comment_id = None
|
||||||
level = 1
|
level = 1
|
||||||
|
@ -500,7 +498,6 @@ def api_comment(v):
|
||||||
)
|
)
|
||||||
|
|
||||||
g.db.add(vote)
|
g.db.add(vote)
|
||||||
c=get_comment(c.id, v=v)
|
|
||||||
|
|
||||||
cache.delete_memoized(comment_idlist)
|
cache.delete_memoized(comment_idlist)
|
||||||
cache.delete_memoized(User.commentlisting, v)
|
cache.delete_memoized(User.commentlisting, v)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue