mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update manage.py
This commit is contained in:
parent
2120b5c6ec
commit
6ffcad8f3e
@ -93,8 +93,8 @@ def set_app_info(output_list, num):
|
||||
def install_app_process(app_name):
|
||||
|
||||
if docker.check_app_directory(app_name):
|
||||
|
||||
ret = Response(code=const.RETURN_SUCCESS, message="20%")
|
||||
percentage = docker.get_process_perc(app_name):
|
||||
ret = Response(code=const.RETURN_SUCCESS, message=percentage)
|
||||
ret = ret.dict()
|
||||
else:
|
||||
ret = Response(code=const.RETURN_FAIL , message="目前没有安装此App")
|
||||
|
Loading…
Reference in New Issue
Block a user