forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-25 19:28:57 +02:00
parent e103c6ae86
commit 2d25383cf6
1 changed files with 0 additions and 3 deletions

View File

@ -134,9 +134,7 @@ def api_comment(v):
# get parent item info
parent_id = parent_fullname.split("_")[1]
if parent_fullname.startswith("t2"):
print("sex")
parent_post = get_post(parent_id, v=v)
print('fuck')
parent = parent_post
parent_comment_id = None
level = 1
@ -500,7 +498,6 @@ def api_comment(v):
)
g.db.add(vote)
c=get_comment(c.id, v=v)
cache.delete_memoized(comment_idlist)
cache.delete_memoized(User.commentlisting, v)