Aevann1 2022-06-23 22:02:40 +02:00
parent cff28b2070
commit 4723640b89
1 changed files with 2 additions and 2 deletions

View File

@ -387,8 +387,8 @@ class Comment(Base):
if v and v.controversial: if v and v.controversial:
captured = [] captured = []
for i in controversial_regex.finditer(body): for i in controversial_regex.finditer(body):
if i.group(0) in captured: continue if i.group(1) in captured: continue
captured.append(i.group(0)) captured.append(i.group(1))
url = i.group(1) url = i.group(1)
p = urlparse(url).query p = urlparse(url).query