mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-26 09:30:27 +00:00
Update manage.py
This commit is contained in:
parent
091c98e392
commit
e1f2dbf047
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def install_app_process(app_id):
|
|||
app_name = split_app_id(app_id)
|
||||
var_path = "/data/apps/" + app_name + "/variables.json"
|
||||
real_name = docker.read_var(var_path, 'name')
|
||||
if docker.check_app_directory(app_name):
|
||||
if docker.check_app_directory(real_name):
|
||||
percentage = docker.get_process_perc(app_name, real_name)
|
||||
ret = Response(code=const.RETURN_SUCCESS, message=percentage)
|
||||
ret = ret.dict()
|
||||
|
|
Loading…
Reference in a new issue