From d7e2633a924fa671abb831de96ebb3d8e36e2d04 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 2 Sep 2025 12:16:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E7=A7=BB=E9=99=A4=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=98=BB=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helper/resource.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/helper/resource.py b/app/helper/resource.py index 9f53b253..a53b03e4 100644 --- a/app/helper/resource.py +++ b/app/helper/resource.py @@ -8,7 +8,6 @@ from app.log import logger from app.utils.http import RequestUtils from app.utils.string import StringUtils from app.utils.system import SystemUtils -from version import APP_VERSION class ResourceHelper: @@ -59,12 +58,6 @@ class ResourceHelper: if rtype == "auth": # 站点认证资源 local_version = SitesHelper().auth_version - # 阻断站点认证资源v2.3.0以下的版本直接更新,避免无限重启 - if StringUtils.compare_version(local_version, "<", "2.3.0"): - continue - # 阻断主程序版本v2.6.3以下的版本直接更新,避免搜索异常 - if StringUtils.compare_version(APP_VERSION, "<", "2.6.3"): - continue elif rtype == "sites": # 站点索引资源 local_version = SitesHelper().indexer_version