mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +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):
|
def install_app_process(app_name):
|
||||||
|
|
||||||
if docker.check_app_directory(app_name):
|
if docker.check_app_directory(app_name):
|
||||||
|
percentage = docker.get_process_perc(app_name):
|
||||||
ret = Response(code=const.RETURN_SUCCESS, message="20%")
|
ret = Response(code=const.RETURN_SUCCESS, message=percentage)
|
||||||
ret = ret.dict()
|
ret = ret.dict()
|
||||||
else:
|
else:
|
||||||
ret = Response(code=const.RETURN_FAIL , message="目前没有安装此App")
|
ret = Response(code=const.RETURN_FAIL , message="目前没有安装此App")
|
||||||
|
Loading…
Reference in New Issue
Block a user