From b8542af64ceb55ff84deab3113d48479767681ad Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 30 Oct 2022 20:10:33 -0500 Subject: [PATCH] random fix --- files/helpers/sanitize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index fb79b5a10..3a1d08a02 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -209,7 +209,8 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys if torture: sanitized = torture_ap(sanitized, g.v.username) - sanitized += '\n:#trumpjaktalking:' if random.random() >= 0.50 else '\n:#reposthorse:' + emoji = choice(['trumpjaktalking', 'reposthorse']) + sanitized += f'\n:#{emoji}:' sanitized = normalize_url(sanitized)