From 4723640b89c9086aca586524a4583700edde00f0 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 23 Jun 2022 22:02:40 +0200 Subject: [PATCH] fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2175391?context=8#context --- files/classes/comment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 36661aa87..d4db025a9 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -387,8 +387,8 @@ class Comment(Base): if v and v.controversial: captured = [] for i in controversial_regex.finditer(body): - if i.group(0) in captured: continue - captured.append(i.group(0)) + if i.group(1) in captured: continue + captured.append(i.group(1)) url = i.group(1) p = urlparse(url).query