Pārlūkot izejas kodu

fix a model path type error

highing666 3 gadi atpakaļ
vecāks
revīzija
b671cdfc91
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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 = ''