Merge pull request #24087 from chennes/fixIsVersionedPathPythonWrapper

App: Fix the Python wrapper for isVersionedPath
This commit is contained in:
sliptonic
2025-09-20 14:17:29 -05:00
committed by GitHub

View File

@@ -100,8 +100,8 @@ std::string ApplicationDirectoriesPy::representation() const
if (!PyArg_ParseTuple(args, "s", &path)) {
return nullptr;
}
App::Application::directories()->isVersionedPath(Base::FileInfo::stringToPath(path));
Py_Return;
bool result = App::Application::directories()->isVersionedPath(Base::FileInfo::stringToPath(path));
return Py::new_reference_to(Py::Boolean(result));
}
[[maybe_unused]] PyObject* ApplicationDirectoriesPy::mostRecentAvailableConfigVersion(PyObject* args)