fdfd
This commit is contained in:
parent
f3b8490487
commit
d9593e55a9
1 changed files with 2 additions and 0 deletions
|
@ -298,8 +298,10 @@ class Comment(Base):
|
||||||
|
|
||||||
if not body: return ""
|
if not body: return ""
|
||||||
|
|
||||||
|
t = time.time()
|
||||||
if not v or v.slurreplacer:
|
if not v or v.slurreplacer:
|
||||||
for s, r in SLURS.items(): body = body.replace(s, r)
|
for s, r in SLURS.items(): body = body.replace(s, r)
|
||||||
|
print(time.time() - t)
|
||||||
|
|
||||||
if v and not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com")
|
if v and not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue