diff --git a/utils/channel.py b/utils/channel.py index 04ded3a5422..0ce80940c41 100644 --- a/utils/channel.py +++ b/utils/channel.py @@ -603,7 +603,7 @@ async def limited_get_speed(info, ipv6_proxy, filter_resolution, timeout, callba open_filter_speed = config.open_filter_speed open_filter_resolution = config.open_filter_resolution min_speed = config.min_speed - min_resolution = config.min_resolution + min_resolution = config.min_resolution_value for cate, obj in data.items(): for name, info_list in obj.items(): info_list = sort_urls(name, info_list, supply=open_supply, filter_speed=open_filter_speed, diff --git a/utils/speed.py b/utils/speed.py index 163880888f7..a56f9854356 100644 --- a/utils/speed.py +++ b/utils/speed.py @@ -299,7 +299,7 @@ async def get_speed(url, ipv6_proxy=None, filter_resolution=config.open_filter_r def sort_urls(name, data, supply=config.open_supply, filter_speed=config.open_filter_speed, min_speed=config.min_speed, - filter_resolution=config.open_filter_resolution, min_resolution=config.min_resolution, + filter_resolution=config.open_filter_resolution, min_resolution=config.min_resolution_value, logger=None): """ Sort the urls with info