along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <Python.h>
+#include "lib/replace/system/python.h"
#include "py3compat.h"
#include "includes.h"
#include "param/param.h"
PyTypeObject *lp_type;
bool is_lpobj;
- if (PyUnicode_Check(py_obj) || PyUnicode_Check(py_obj)) {
+ if (PyUnicode_Check(py_obj)) {
lp_ctx = loadparm_init_global(false);
if (lp_ctx == NULL) {
return NULL;