From 78e4e5c548a814da6d9f9df779604ccb028d93c8 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Fri, 6 Nov 2020 09:22:23 -0500 Subject: [PATCH] binding for getPluginDataPath() --- src/runner/pythonrunner.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index 5fbe5fb..bc733cc 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -362,6 +362,9 @@ BOOST_PYTHON_MODULE(mobase) return organizer->modList()->onModInstalled([func](MOBase::IModInterface* m) { func(m->name()); });; }, bpy::arg("callback")) + .def("getPluginDataPath", &IOrganizer::getPluginDataPath) + .staticmethod("getPluginDataPath") + ; // FileTreeEntry Scope: