Update manage.py

This commit is contained in:
qiaofeng1227 2023-04-27 09:55:37 +08:00 committed by GitHub
parent df4c46a520
commit 2e21ba2a97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -261,7 +261,7 @@ def get_apps_from_compose():
ip = "localhost"
try:
ip_result = shell_execute.execute_command_output_all("cat /data/apps/stackhub/docker/w9appmanage/public_ip")
ip = ip_result["result"]
ip = ip_result["result"].rstrip('\n')
except Exception:
ip = "127.0.0.1"