Skip to content

Commit b5bd65d

Browse files
committed
Add type fix
1 parent 6937763 commit b5bd65d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

radio/app/endpoints/mission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def importMissionFromFile(data: ImportMissionFromFileType) -> None:
176176
)
177177
return
178178

179-
file_path = data.get("file_path")
179+
file_path = data.get("file_path", "")
180180

181181
result = droneStatus.drone.missionController.importMissionFromFile(
182182
mission_type_array.index(mission_type), file_path

0 commit comments

Comments
 (0)