From 2d229ae4018db6fb5ce40ac8e4711a86db2c50e2 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Mon, 12 Dec 2022 16:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=B7=E8=B1=B9=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_site/UtilityTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt_site/UtilityTool.py b/pt_site/UtilityTool.py index 103911b..c762214 100644 --- a/pt_site/UtilityTool.py +++ b/pt_site/UtilityTool.py @@ -1586,7 +1586,7 @@ class PtSpider: # 做种体积 'seed_vol': seeding_size, }) - if ratio < 1: + if float(ratio) < 1: self.send_request(f'{site.name} 分享率 {ratio} 过低,请注意') return CommonResponse.success(data=res_gpw) else: