Update jd_identical.py

This commit is contained in:
zytomorrow 2022-10-14 21:44:37 +08:00 committed by GitHub
parent 28fc35bcf5
commit ee8a90f8d3
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