瀏覽代碼

Update manage.py

qiaofeng1227 2 年之前
父節點
當前提交
2bc70a1f92
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      appmanage/api/service/manage.py

+ 1 - 1
appmanage/api/service/manage.py

@@ -167,7 +167,7 @@ def install_app_process(app_name):
 def install_app(app_name, customer_app_name, app_version):
 def install_app(app_name, customer_app_name, app_version):
     
     
     runnging_file_path = "/data/apps/running_apps.txt"
     runnging_file_path = "/data/apps/running_apps.txt"
-    unique_app_path = "/data/apps/" + customer_app_name
+    unique_app_path = "/data/apps/" + str(customer_app_name)
     
     
     # 防止app名重复
     # 防止app名重复
     if os.path.exists(unique_app_path)
     if os.path.exists(unique_app_path)