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
b1efee82c4
commit
ba89cdbd9d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user