I hate you and I hope you die a violent death

pull/2/head
Aevann1 2022-11-18 23:11:03 +02:00
parent 3cd1734390
commit 2fd63d7474
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ def post_id(pid, anything=None, v=None, sub=None):
g.db.add(pin)
elif pin.level > 1:
pinned2.add(pin.top_comment(g.db))
if pin.top_comment in comments:
if pin.top_comment(g.db) in comments:
comments.remove(pin.top_comment(g.db))
else:
pinned2.add(pin)