diff --git a/src/mobase/wrappers/pyfiletree.cpp b/src/mobase/wrappers/pyfiletree.cpp index 8a08039..d102381 100644 --- a/src/mobase/wrappers/pyfiletree.cpp +++ b/src/mobase/wrappers/pyfiletree.cpp @@ -232,7 +232,6 @@ namespace mo2::python { if (result == nullptr) { throw std::logic_error("addDirectory failed"); } - MOBase::log::warn("{}", result->fileType()); return result; }, py::arg("path")); diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index 911e770..3d7a2ff 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -48,9 +48,6 @@ private: // list of python objects - this does not keep the objects alive, it simply used to // unload plugins std::unordered_map> m_PythonObjects; - - // handle to extract_plugins() from mobase.private - std::function(py::object)> m_extract_plugins; }; IPythonRunner* CreatePythonRunner() @@ -109,10 +106,6 @@ bool PythonRunner::initialize(QStringList const& paths) mo2::python::configure_python_stream(); mo2::python::configure_python_logging(mainNamespace["mobase"]); - m_extract_plugins = py::module_::import("mobase.private") - .attr("extract_plugins") - .cast(); - // we need to release the GIL here - which is what this does // // when Python is initialized, the GIl is acquired, and if it is not release,