Fix use of reserved keyword in python

This commit is contained in:
doterop 2020-05-11 12:27:25 +02:00 committed by Marc Garcia Puig
parent c0b3917df5
commit 1c7306f982
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ void export_lightmanager() {
using namespace boost::python;
enum_<cr::LightState::LightGroup>("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)