From 1d5a3701a598b7bd42d2d4c044d9bcfabc817d82 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Wed, 6 Apr 2016 13:35:11 -0400 Subject: [PATCH] examples: Fix server.py to work again in poll mode --- examples/bench/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bench/server.py b/examples/bench/server.py index 6d00b46..ae306ef 100644 --- a/examples/bench/server.py +++ b/examples/bench/server.py @@ -108,7 +108,7 @@ if __name__ == '__main__': srv = loop.run_until_complete(coro) else: print('using sock_recv/sock_sendall') - loop.create_task(echo_server(loop, addr), unix) + loop.create_task(echo_server(loop, addr, unix)) try: loop.run_forever() finally: