diff --git a/src/libcalamares/PythonJobApi.cpp b/src/libcalamares/PythonJobApi.cpp index 705467f25..d7d78c9ce 100644 --- a/src/libcalamares/PythonJobApi.cpp +++ b/src/libcalamares/PythonJobApi.cpp @@ -240,12 +240,12 @@ gettext_languages() return pyList; } -std::string +bp::object gettext_path() { // TODO: distinguish between -d runs and normal runs // TODO: can we detect DESTDIR-installs? - return std::string(); + return bp::object(); // None } diff --git a/src/libcalamares/PythonJobApi.h b/src/libcalamares/PythonJobApi.h index a732e005b..3d31c474e 100644 --- a/src/libcalamares/PythonJobApi.h +++ b/src/libcalamares/PythonJobApi.h @@ -61,7 +61,7 @@ std::string check_target_env_output( const boost::python::list& args, std::string obscure( const std::string& string ); -std::string gettext_path(); +boost::python::object gettext_path(); boost::python::list gettext_languages();