From: vsr Date: Thu, 16 Jun 2022 12:47:32 +0000 (+0300) Subject: bos #29865 [CEA 29586] salome.myStudyName returns None X-Git-Tag: V9_9_1b1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04d3fbfe10bcffbb468b04f85649a3e588844c59;p=modules%2Fkernel.git bos #29865 [CEA 29586] salome.myStudyName returns None - Attempt 2 --- diff --git a/src/KERNEL_PY/__init__.py b/src/KERNEL_PY/__init__.py index 58d4bd6e1..f675cf5ea 100644 --- a/src/KERNEL_PY/__init__.py +++ b/src/KERNEL_PY/__init__.py @@ -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