Update web_app.py
This commit is contained in:
parent
98bce1d640
commit
0ceeb43abc
|
@ -18,7 +18,7 @@ def incoming():
|
||||||
if not user or not text:
|
if not user or not text:
|
||||||
return jsonify({"error": "Invalid data"}), 400
|
return jsonify({"error": "Invalid data"}), 400
|
||||||
|
|
||||||
msg = f"[CHATBOX] {user}: {text}"
|
msg = f"[CHAT] {user}: {text}"
|
||||||
try:
|
try:
|
||||||
r.publish("chatbox_to_irc", msg)
|
r.publish("chatbox_to_irc", msg)
|
||||||
print(f"[REDIS] Published: {msg}")
|
print(f"[REDIS] Published: {msg}")
|
||||||
|
|
Loading…
Reference in New Issue