From ba89cdbd9d157f47c85a600c48890e2daba2096d Mon Sep 17 00:00:00 2001 From: Hans155922 <35620329+Hans155922@users.noreply.github.com> Date: Thu, 11 Aug 2022 07:39:04 +0800 Subject: [PATCH] Update jd_identical.py --- jd_identical.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/jd_identical.py b/jd_identical.py index ca31c30..9f0f234 100644 --- a/jd_identical.py +++ b/jd_identical.py @@ -101,10 +101,6 @@ def get_duplicate_list(tasklist: list) -> tuple: names = [] cmds = [] for task in tasklist: - url = f"http://{ipport}/api/system" - response = requests.get(url=url) - data = json.loads(response.content.decode("utf-8")) - version = data.get("data").get("version") if getversion() == 1: ids.append(task.get("id")) else: