]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
bos #29865 [CEA 29586] salome.myStudyName returns None V9_9_1b1
authorvsr <vsr@opencascade.com>
Thu, 16 Jun 2022 12:47:32 +0000 (15:47 +0300)
committervsr <vsr@opencascade.com>
Thu, 16 Jun 2022 12:47:32 +0000 (15:47 +0300)
- Attempt 2

src/KERNEL_PY/__init__.py

index 58d4bd6e10526bf8a628c6066317cddcf06242ca..f675cf5ea351e73262feb874386f6bcbaee4b9ec 100644 (file)
@@ -216,7 +216,7 @@ def salome_init_without_session_common(path=None, embedded=False):
         writeORBConfigFileSSL(os.environ[OMNIORB_USER_PATH],kwargs={"with_pid":True})
         atexit.register(RemoveOmniorbConfigFile)
 
-    global lcc,naming_service,myStudy,orb,modulcat,sg
+    global lcc,naming_service,myStudy,myStudyName,orb,modulcat,sg
     import KernelBasis
     KernelBasis.setSSLMode(True)
     import KernelDS