diff --git a/interlocking/interlockingcontroller/pointcontroller.py b/interlocking/interlockingcontroller/pointcontroller.py index 6f047ed..73c3434 100644 --- a/interlocking/interlockingcontroller/pointcontroller.py +++ b/interlocking/interlockingcontroller/pointcontroller.py @@ -89,7 +89,7 @@ def set_point_free(self, point, train_id: str): logging.info(f"--- Set point {point.point_id} to free") point.state = OccupancyState.FREE point.used_by.remove(train_id) - self.flank_protection_cqontroller.free_flank_protection_of_point(point, point.orientation) + self.flank_protection_controller.free_flank_protection_of_point(point, point.orientation) def reset_route(self, route, train_id: str): for point in route.get_points_of_route():