浏览代码

fix a model path type error

highing666 3 年之前
父节点
当前提交
b671cdfc91
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/controllers/equipment/fcu/early_start.py

+ 1 - 0
app/controllers/equipment/fcu/early_start.py

@@ -57,6 +57,7 @@ async def fetch_params(project_id: str, space_id: str, db: Session) -> Tuple[flo
 
         if device_id:
             model_path = model_path_early_start_dtr.get_path_by_device(db, device_id)
+            model_path = model_path.model_path
         else:
             model_path = ''