From e5f7282472f1beea2c0fda6a460a6caec394ebbc Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Thu, 19 May 2022 18:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=85=A8=E9=83=A8=E9=87=8D?= =?UTF-8?q?=E7=AD=BE=E3=80=81=E4=BC=98=E5=8C=96=E5=8E=9F=E7=A5=9E=E7=8C=9C?= =?UTF-8?q?=E8=AF=AD=E9=9F=B3=E3=80=81=E6=9B=B4=E6=94=B9=E5=BC=82=E6=AD=A5?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/http_util.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils/http_util.py b/utils/http_util.py index 1c88d7e..f2257d0 100644 --- a/utils/http_util.py +++ b/utils/http_util.py @@ -3,7 +3,6 @@ from typing import Dict, Optional, Any, Union, Tuple from pathlib import Path from io import BytesIO from PIL import Image -from retrying import retry import httpx @@ -44,7 +43,6 @@ class aiorequests: **kwargs) @classmethod - @retry(stop_max_attempt_number=3, wait_fixed=300) async def get_img(cls, url: str, *,