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