From 2e360c267741765cf2177e80854fb0de94da0fc6 Mon Sep 17 00:00:00 2001 From: timotheyca Date: Wed, 22 Dec 2021 20:16:19 +0300 Subject: [PATCH] bug fix --- Dockerfile | 2 +- v6d0auth/cdb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce84c6b..56fa7ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/v6d0auth/cdb.py b/v6d0auth/cdb.py index 4badca1..2fb32d4 100644 --- a/v6d0auth/cdb.py +++ b/v6d0auth/cdb.py @@ -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: