forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-05 14:18:03 +02:00
parent 8239fae5f5
commit 266d272872
1 changed files with 0 additions and 1 deletions

View File

@ -181,7 +181,6 @@ def post_id(pid, anything=None, v=None):
post.preloaded_comments = [x for x in comments if not (x.author and x.author.shadowbanned) or (v and v.id == x.author_id)]
if v and v.id == 1: print(session.get("read_comments"))
read = session.get("read_comments")
read_comments = [x.id for x in post.preloaded_comments]
if session.get("read_comments"): session["read_comments"] += read_comments