bug fix
This commit is contained in:
parent
b161c4c88c
commit
2e360c2677
@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.9
|
||||
FROM python:3.10
|
||||
WORKDIR /v6
|
||||
ENV v6host=0.0.0.0
|
||||
EXPOSE 5900
|
||||
|
@ -28,7 +28,7 @@ class AbstractRequest:
|
||||
self.cancelled = False
|
||||
self.future: asyncio.Future[bytes] = self._loop.create_future()
|
||||
|
||||
def __le__(self, other):
|
||||
def __lt__(self, other):
|
||||
if isinstance(other, AbstractRequest):
|
||||
return self.timeout < other.timeout
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user