Remove debugging code and fix regex substitution

This commit is contained in:
2022-09-21 12:48:54 +01:00
parent 3d293daad3
commit 64ebcedd76
4 changed files with 6 additions and 8 deletions

View File

@@ -145,7 +145,7 @@ def process_data(data):
# 4chan - since we change the attributes below
if "com" in msg:
msg["msg"] = RE_BAD_CHARS.sub("", msg["msg"])
msg["com"] = RE_BAD_CHARS.sub("", msg["com"])
if msg["src"] == "4ch":
board = msg["net"]