diff --git a/pyiec61850/CMakeLists.txt b/pyiec61850/CMakeLists.txt index 00c256f1..159ef4bc 100644 --- a/pyiec61850/CMakeLists.txt +++ b/pyiec61850/CMakeLists.txt @@ -34,7 +34,7 @@ swig_link_libraries(iec61850 ${PYTHON_LIBRARIES} ${LIBS}) # Finding python modules install path execute_process( COMMAND ${PYTHON_EXECUTABLE} -c - "from distutils.sysconfig import get_python_lib; import.sys; sys.stdout.write(get_python_lib())" + "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())" OUTPUT_VARIABLE PYTHON_SITE_DIR ) diff --git a/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java b/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java index 226f1188..28b3d453 100644 --- a/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java +++ b/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java @@ -94,7 +94,7 @@ public class OptionFields { if (boolVal != null) this.configRef = boolVal; - boolVal = ParserUtils.parseBooleanAttribute(optFieldsNode, "bufOvlf"); + boolVal = ParserUtils.parseBooleanAttribute(optFieldsNode, "bufOvfl"); if (boolVal != null) this.bufOvfl = boolVal; }