mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Update jd_identical.py
This commit is contained in:
parent
28fc35bcf5
commit
ee8a90f8d3
@ -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}")
|
||||
#send("💖禁用重复任务成功", f"\n{sum}\n{filter}\n{disable}")
|
||||
|
Loading…
Reference in New Issue
Block a user