Merge branch 'master' into regex-sensor-v2

This commit is contained in:
Aevann1 2021-10-19 18:23:19 +02:00 committed by GitHub
commit 66abfc321e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 27 additions and 32 deletions

View file

@ -300,7 +300,9 @@ class Comment(Base):
if not body: return ""
t = time.time()
body = censor_slurs(body, v)
print(time.time() - t)
if v and not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com")