Update server2.py
Browse files- server2.py +1 -1
server2.py
CHANGED
|
@@ -337,7 +337,7 @@ def check_api1():
|
|
| 337 |
# print(f"Rsync failed with return code: {e.returncode}")
|
| 338 |
# print(f"Command output: {e.output}")
|
| 339 |
|
| 340 |
-
subprocess.run(f"
|
| 341 |
break # 跳出循环
|
| 342 |
else:
|
| 343 |
print("接口返回信息:", response_json)
|
|
|
|
| 337 |
# print(f"Rsync failed with return code: {e.returncode}")
|
| 338 |
# print(f"Command output: {e.output}")
|
| 339 |
|
| 340 |
+
subprocess.run(f"bash /sync.sh -p {ssh_port} -s {frp_url}", shell=True, check=True)
|
| 341 |
break # 跳出循环
|
| 342 |
else:
|
| 343 |
print("接口返回信息:", response_json)
|