Update manage.py

This commit is contained in:
qiaofeng1227 2023-03-08 15:01:36 +08:00 committed by GitHub
parent 62b616ef0a
commit 8a0b93ab8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ def get_my_app(app_name=None):
for i in range(0, num):
name = output_list[3 * i] #name
image_url = "https://libs.websoft9.com/Websoft9/logo/product/" + name + "-websoft9.png"
trade_mark = ""
id = 0 #id
status = output_list[3 * i + 1].split("(")[0] #status
if(status.startswith("r")):
@ -56,7 +57,7 @@ def get_my_app(app_name=None):
if password == "":
password = "-"
app = App(id=id, name=name, status_code=status_code, status=status, port=port, volume=volume, url=url, image_url=image_url, user_name=user_name, password=password)
app = App(id=id, name=name, status_code=status_code, status=status, port=port, volume=volume, url=url, image_url=image_url, trade_mark=trade_mark, user_name=user_name, password=password)
list.append(app.dict())
flag = 0
if app_name != None: