Merge pull request from zytomorrow/patch-1

Update jd_identicalnew.py
This commit is contained in:
Faker 2022-10-16 02:34:06 +08:00 committed by GitHub
commit 39319cf0ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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:
for task in tasklist['data']:
for sub in sub_list:
if task.get("command").find(sub) == -1:
flag = False