+ unify method names

This commit is contained in:
wmayer
2016-05-18 23:43:58 +02:00
parent 554d3736f9
commit c81aca0902
3 changed files with 5 additions and 5 deletions

View File

@@ -182,7 +182,7 @@ PyMODINIT_FUNC initPartGui()
CreateSimplePartCommands();
CreateParamPartCommands();
try{
Py::Object ae = Base::Interpreter().runString_returnObject("__import__('AttachmentEditor.Commands').Commands");
Py::Object ae = Base::Interpreter().runStringObject("__import__('AttachmentEditor.Commands').Commands");
Py::Module(partGuiModule).setAttr(std::string("AttachmentEditor"),ae);
} catch (Base::PyException &err){
err.ReportException();