]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0023671: [CEA 13012] Cannot import Paraview simple (pvsimple)
authorvsr <vsr@opencascade.com>
Tue, 22 Jan 2019 12:52:15 +0000 (15:52 +0300)
committervsr <vsr@opencascade.com>
Tue, 22 Jan 2019 12:53:32 +0000 (15:53 +0300)
src/PVServerService/ENGINE/PVSERVER_impl.py

index ef960dbd8f194f6544f052a7230a92d3de7292ce..9dcdae53b1f05dde174d18e99f3db3932bb20d5f 100644 (file)
@@ -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,