From ee8a90f8d3a8466cde315d68066ede2a310c0244 Mon Sep 17 00:00:00 2001 From: zytomorrow Date: Fri, 14 Oct 2022 21:44:37 +0800 Subject: [PATCH] Update jd_identical.py --- jd_identical.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jd_identical.py b/jd_identical.py index c4a7f0f..c5bb8e1 100644 --- a/jd_identical.py +++ b/jd_identical.py @@ -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 @@ -209,4 +209,4 @@ if __name__ == "__main__": else: disable_duplicate_tasks(ids) #if send: - #send("๐Ÿ’–็ฆ็”จ้‡ๅคไปปๅŠกๆˆๅŠŸ", f"\n{sum}\n{filter}\n{disable}") \ No newline at end of file + #send("๐Ÿ’–็ฆ็”จ้‡ๅคไปปๅŠกๆˆๅŠŸ", f"\n{sum}\n{filter}\n{disable}")