isrpa 0.3__tar.gz → 0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {isrpa-0.3 → isrpa-0.5}/PKG-INFO +1 -1
- {isrpa-0.3 → isrpa-0.5}/isrpa/utils.py +3 -3
- {isrpa-0.3 → isrpa-0.5}/isrpa.egg-info/PKG-INFO +1 -1
- {isrpa-0.3 → isrpa-0.5}/setup.py +1 -1
- {isrpa-0.3 → isrpa-0.5}/README.md +0 -0
- {isrpa-0.3 → isrpa-0.5}/isrpa/__init__.py +0 -0
- {isrpa-0.3 → isrpa-0.5}/isrpa.egg-info/SOURCES.txt +0 -0
- {isrpa-0.3 → isrpa-0.5}/isrpa.egg-info/dependency_links.txt +0 -0
- {isrpa-0.3 → isrpa-0.5}/isrpa.egg-info/top_level.txt +0 -0
- {isrpa-0.3 → isrpa-0.5}/setup.cfg +0 -0
{isrpa-0.3 → isrpa-0.5}/PKG-INFO
RENAMED
@@ -18,7 +18,7 @@ def getPath(userName):
|
|
18
18
|
|
19
19
|
address = os.environ.get("address","192.168.12.249")
|
20
20
|
|
21
|
-
url = f"http://{address}/
|
21
|
+
url = f"http://{address}/client/getPath"
|
22
22
|
print(url)
|
23
23
|
headers = {
|
24
24
|
'Content-Type': 'application/json', # 说明请求体是 JSON 格式
|
@@ -32,7 +32,7 @@ def getPath(userName):
|
|
32
32
|
if response.status_code != 200:
|
33
33
|
print("请求失败,状态码:", response.status_code)
|
34
34
|
return "failure"
|
35
|
-
return response.
|
35
|
+
return response.json()
|
36
36
|
|
37
37
|
|
38
38
|
def upload_file(file_path,dic_path,port:str):
|
@@ -45,7 +45,7 @@ def upload_file(file_path,dic_path,port:str):
|
|
45
45
|
"""
|
46
46
|
|
47
47
|
address = os.environ.get("address", "192.168.12.249")
|
48
|
-
url = f"http://{address}/
|
48
|
+
url = f"http://{address}/client/executeCmd"
|
49
49
|
print(url)
|
50
50
|
headers = {
|
51
51
|
'Content-Type': 'application/json', # 说明请求体是 JSON 格式
|
{isrpa-0.3 → isrpa-0.5}/setup.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|