forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-02-21 04:08:05 +02:00
parent 833009bd14
commit 81d0f66444
1 changed files with 4 additions and 1 deletions

View File

@ -766,7 +766,10 @@ def thumbnail_thread(pid):
body_html = sanitize(f'New {word} mention: https://old.reddit.com{i["permalink"]}?context=89', noimages=True)
existing_comment = db.query(Comment.id).filter_by(author_id=NOTIFICATIONS_ID, parent_submission=None, distinguish_level=6, body_html=body_html, level=1).one_or_none()
try: existing_comment = db.query(Comment.id).filter_by(author_id=NOTIFICATIONS_ID, parent_submission=None, distinguish_level=6, body_html=body_html, level=1).one_or_none()
except:
print(body_html)
break
if existing_comment: break