diff --git a/PythonAPI/carla/source/libcarla/LightManager.cpp b/PythonAPI/carla/source/libcarla/LightManager.cpp index 887572a76..9337fae73 100644 --- a/PythonAPI/carla/source/libcarla/LightManager.cpp +++ b/PythonAPI/carla/source/libcarla/LightManager.cpp @@ -294,7 +294,7 @@ void export_lightmanager() { using namespace boost::python; enum_("LightGroup") - .value("None", cr::LightState::LightGroup::None) + .value("NONE", cr::LightState::LightGroup::None) .value("Vehicle", cr::LightState::LightGroup::Vehicle) .value("Street", cr::LightState::LightGroup::Street) .value("Building", cr::LightState::LightGroup::Building)