diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index 1d3730c..337e877 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -269,7 +269,7 @@ BOOST_PYTHON_MODULE(mobase) .def("modDataChanged", &IOrganizer::modDataChanged, bpy::arg("mod")) .def("pluginSetting", &IOrganizer::pluginSetting, (bpy::arg("plugin_name"), "key")) .def("setPluginSetting", &IOrganizer::setPluginSetting, (bpy::arg("plugin_name"), "key", "value")) - .def("persistent", &IOrganizer::persistent, (bpy::arg("plugin_name"), "key", bpy::arg("persistent") = QVariant())) + .def("persistent", &IOrganizer::persistent, (bpy::arg("plugin_name"), "key", bpy::arg("default") = QVariant())) .def("setPersistent", &IOrganizer::setPersistent, (bpy::arg("plugin_name"), "key", "value", bpy::arg("sync") = true)) .def("pluginDataPath", &IOrganizer::pluginDataPath) .def("installMod", &IOrganizer::installMod, bpy::return_value_policy(), (bpy::arg("filename"), bpy::arg("name_suggestion") = ""))