Salome HOME
Upgrade to paraview 5.4
[modules/gui.git] / src / PVServerService / PVServer_ServiceWrapper.cxx
index 8c4004065e1fbd4911f7fb23887848cdf6234b9a..584a4da91e621735ea669caad755b7b595c934a8 100644 (file)
@@ -102,7 +102,7 @@ std::string PVServer_ServiceWrapper::FindOrStartPVServer(int port)
       PyErr_Print();
       throw SALOME_Exception("Unable to invoke PVSERVER service!");
     }
-  return std::string(PyString_AsString(obj));
+  return std::string(PyUnicode_AsUTF8(obj));
 }