typo in src/IRCServer.py, 'typing.float' -> 'float'

This commit is contained in:
jesopo 2018-11-21 20:17:02 +00:00
parent 9ecbb6be7b
commit 5001e47af9

View file

@ -273,7 +273,7 @@ class Server(IRCObject.Object):
def ping_due(self) -> bool: def ping_due(self) -> bool:
return self.until_next_ping() == 0 return self.until_next_ping() == 0
def until_read_timeout(self) -> typing.float: def until_read_timeout(self) -> float:
return max(0, (self.last_read+READ_TIMEOUT_SECONDS return max(0, (self.last_read+READ_TIMEOUT_SECONDS
)-time.monotonic()) )-time.monotonic())
def read_timed_out(self) -> bool: def read_timed_out(self) -> bool: