forked from MarseyWorld/MarseyWorld
master
parent
cff28b2070
commit
4723640b89
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue