diff --git a/src/Python/PythonEmbed.cpp b/src/Python/PythonEmbed.cpp index a9eaace33..68c5af870 100644 --- a/src/Python/PythonEmbed.cpp +++ b/src/Python/PythonEmbed.cpp @@ -225,7 +225,7 @@ PythonEmbed::PythonEmbed(const bool verbose, const bool interactive) : verbose(v printd("Python is installed: %s\n", pybin.toStdString().c_str()); // tell python our program name - pretend to be the usual interpreter - printd("Py_SetProgramName: %s\n", pybin.toStdWString().c_str()); + printd("Py_SetProgramName: %s\n", pybin.toStdString().c_str()); // not wide char string as printd uses printf not wprintf Py_SetProgramName((wchar_t*) pybin.toStdWString().c_str()); // our own module