python unit_system name.

This commit is contained in:
Steinar Foss
2019-10-13 22:53:56 +02:00
parent a177d3b887
commit a2a016951f
2 changed files with 2 additions and 2 deletions

View File

@@ -6,5 +6,5 @@
void python::common::export_UnitSystem(py::module& module)
{
py::class_<UnitSystem>(module, "UnitSystem")
.def_property_readonly( "type", &UnitSystem::getName );
.def_property_readonly( "name", &UnitSystem::getName );
}