diff --git a/files/routes/posts.py b/files/routes/posts.py index f70572c896..8e00a10735 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -601,6 +601,7 @@ def submit_post(v, hole=None): if SITE == 'watchpeopledie.tv': p.cw = request.values.get("cw", False, bool) if p.hole == 'selfharm': + g.db.flush() text = f"ALERT: @{v.username} has added a Child Warning to {p.textlink} despite the post being in /h/selfharm" alert_admins(text)