Remove debugging code and fix regex substitution
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user