Fix comment in client_w.py

pull/7/head
Peter Hinch 2018-11-03 08:07:11 +00:00
rodzic 0560b9960d
commit ac350c1e28
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -24,8 +24,8 @@ async def run():
# On ESP8266 if another task closes the socket the poll object
# never triggers. uasyncio expects it to trigger with POLLHUP or
# (POLLOUT & POLLERR or POLLOUT & POLLHUP)
# If server fails gets OSError rather than above response.
else: # But on Unix server failure or socket closure produces ev == 32
# If server fails gets OSError on both platforms.
else: # But on Unix socket closure produces ev == 32
print('Terminating event:', ev) # What is 32??
ok = False
break