fix the thing
This commit is contained in:
parent
e7345520a8
commit
0a8194b941
1 changed files with 1 additions and 1 deletions
2
memed.py
2
memed.py
|
@ -73,7 +73,7 @@ async def send_msg(writer, op: int, data: str):
|
||||||
log.info('[send] %d, %s -> %r', op, data, msg)
|
log.info('[send] %d, %s -> %r', op, data, msg)
|
||||||
|
|
||||||
writer.write(msg)
|
writer.write(msg)
|
||||||
asyncio.get_event_loop.create_task(writer.drain())
|
asyncio.get_event_loop().create_task(writer.drain())
|
||||||
|
|
||||||
|
|
||||||
async def process(reader, writer, op: int, message: str):
|
async def process(reader, writer, op: int, message: str):
|
||||||
|
|
Loading…
Reference in a new issue