Merge pull request #699 from lededev/mi1

小改动
This commit is contained in:
Yoshiko2
2022-02-23 05:29:12 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ def get_data_from_json(file_number, oCC): # 从JSON返回元数据
conf = config.getInstance()
# default fetch order list, from the beginning to the end
sources = conf.sources().split(',')
if not len(conf.sources()) > 80:
if len(sources) <= len(func_mapping):
# if the input file name matches certain rules,
# move some web service to the beginning of the list
lo_file_number = file_number.lower()