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_3_0a1~4^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6b1c88df7220b82906b1482c285e42f8e9c2dfdf;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,