Revert "Merge pull request from zytomorrow/patch-1"

This reverts commit 39319cf0ef, reversing
changes made to f0e7da80e3.
This commit is contained in:
Faker 2022-10-16 02:35:31 +08:00
parent 39319cf0ef
commit be327dd1f0

View File

@ -65,7 +65,7 @@ def get_tasklist() -> list:
def filter_res_sub(tasklist: list) -> tuple:
filter_list = []
res_list = []
for task in tasklist['data']:
for task in tasklist:
for sub in sub_list:
if task.get("command").find(sub) == -1:
flag = False