Skip to content

Commit

Permalink
📝 Modify the document.
Browse files Browse the repository at this point in the history
  • Loading branch information
AirportR committed Apr 1, 2024
1 parent e9078c6 commit 5ea3f68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/doc/新增流媒体测试项指南.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def task(collector, session, proxy):
该变量需要有三个必须键:\
"MYNAME": 流媒体名字 \
"TASK": 协程任务函数名,不加括号 \
"GET": 获取解锁信息的函数名,不加括号 \
"GET": 获取解锁信息的函数名,不加括号

以及一个用于排序的键\
以及一个用于排序的键(可选):

"RANK": 显示测试项时排列顺序,不写默认值为1。该值一般是整数,或者一个浮点数。值越小排在越前面。

Expand Down
1 change: 0 additions & 1 deletion utils/cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ def unsafe_load(name: str, pkg: str) -> bool:
except (FileNotFoundError, NotImplementedError, OSError):
continue
self._script = dict(sorted(self._script.items(), key=lambda x: x[1][2]))
print(self._script)
logger.info(f"外接测试脚本成功导入数量: {num}")

@staticmethod
Expand Down

0 comments on commit 5ea3f68

Please sign in to comment.