Salome HOME
Do not launch an external pvserver for python scripts, as it is no more the default... cbr/no_external_pvserver_in_python
authorChristophe Bourcier <christophe.bourcier@cea.fr>
Mon, 15 May 2023 07:19:31 +0000 (09:19 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Mon, 15 May 2023 07:19:31 +0000 (09:19 +0200)
src/PV_SWIG/pvsimple.py

index 58e1d5097bb00af2cd9f9c54f8836cca437bd881..b0a22702262fa2edd3ed91b303e783d06e3668d7 100644 (file)
@@ -98,11 +98,6 @@ def SalomeConnectToPVServer():
         raise e
     pass
 
-if __getFromGUI() < 1:
-    # Only if not in GUI (otherwise the createView will do the connection)
-    SalomeConnectToPVServer()
-del SalomeConnectToPVServer
-
 # Forward namespace of simple into current pvsimple:
 for name in dir(simple):
   if not name.startswith("__"):