This commit is contained in:
AF 2021-12-22 20:16:19 +03:00
parent b161c4c88c
commit 2e360c2677
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM python:3.9 FROM python:3.10
WORKDIR /v6 WORKDIR /v6
ENV v6host=0.0.0.0 ENV v6host=0.0.0.0
EXPOSE 5900 EXPOSE 5900

View File

@ -28,7 +28,7 @@ class AbstractRequest:
self.cancelled = False self.cancelled = False
self.future: asyncio.Future[bytes] = self._loop.create_future() self.future: asyncio.Future[bytes] = self._loop.create_future()
def __le__(self, other): def __lt__(self, other):
if isinstance(other, AbstractRequest): if isinstance(other, AbstractRequest):
return self.timeout < other.timeout return self.timeout < other.timeout
else: else: