invalid stuff
This commit is contained in:
parent
11846eda79
commit
f2aa285ad3
10
wrapper.py
10
wrapper.py
|
@ -55,12 +55,16 @@ def send_process_output(
|
||||||
logout_result = logout_pattern.search(line)
|
logout_result = logout_pattern.search(line)
|
||||||
if chat_result:
|
if chat_result:
|
||||||
msg_queue.add(
|
msg_queue.add(
|
||||||
{"user": result.group(4), "action": "chat", "msg": result.group(5).rstrip("\n")},
|
{
|
||||||
|
"user": chat_result.group(4),
|
||||||
|
"action": "chat",
|
||||||
|
"msg": chat_result.group(5).rstrip("\n"),
|
||||||
|
},
|
||||||
)
|
)
|
||||||
elif login_result:
|
elif login_result:
|
||||||
msg_queue.add({"user": result.group(3), "action": "joined"})
|
msg_queue.add({"user": login_result.group(3), "action": "joined"})
|
||||||
elif logout_result:
|
elif logout_result:
|
||||||
msg_queue.add({"user": result.group(3), "action": "left"})
|
msg_queue.add({"user": logout_result.group(3), "action": "left"})
|
||||||
|
|
||||||
|
|
||||||
def relay_queue_input(
|
def relay_queue_input(
|
||||||
|
|
Loading…
Reference in New Issue