From: vsr Date: Tue, 22 Jan 2019 12:52:15 +0000 (+0300) Subject: 0023671: [CEA 13012] Cannot import Paraview simple (pvsimple) X-Git-Tag: V9_2_2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=de382b568af164e20d2bb53fcd1ba6ab5ffb038f;p=modules%2Fgui.git 0023671: [CEA 13012] Cannot import Paraview simple (pvsimple) --- diff --git a/src/PVServerService/ENGINE/PVSERVER_impl.py b/src/PVServerService/ENGINE/PVSERVER_impl.py index ef960dbd8..9dcdae53b 100644 --- a/src/PVServerService/ENGINE/PVSERVER_impl.py +++ b/src/PVServerService/ENGINE/PVSERVER_impl.py @@ -56,6 +56,7 @@ class PVSERVER_impl(object): else: ZE_KEY_TO_FIND_PV_ROOT_DIR="lib" upCount =1 + tmp = os.path.sep.join(tmp.split('/')) li=tmp.split(os.path.sep) ; li.reverse() if ZE_KEY_TO_FIND_PV_ROOT_DIR not in li: raise SALOME_Exception(ExceptionStruct(INTERNAL_ERROR,