examples: Fix server.py to work again in poll mode

This commit is contained in:
Yury Selivanov 2016-04-06 13:35:11 -04:00
parent a6266752ba
commit 1d5a3701a5
1 changed files with 1 additions and 1 deletions

View File

@ -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: