Salome HOME
Updated copyright comment
[modules/homard.git] / bin / runHOMARD.py
index 76ddece9b77ffe34132833d94425480e20d40723..8a8ded4da83cccf1fcc8c70a1850dc5f4b060afa 100755 (executable)
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-# Copyright (C) 2011-2016  CEA/DEN, EDF R&D
+#!/usr/bin/env python3
+# Copyright (C) 2011-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -180,7 +180,8 @@ class Server:
 
 class CatalogServer(Server):
    SCMD1=['SALOME_ModuleCatalog_Server','-common']
-   SCMD2=['-personal','${HOME}/Salome/resources/CatalogModulePersonnel.xml'] 
+   home_dir=os.path.expanduser("~")
+   SCMD2=['-personal',os.path.join(home_dir,'Salome', 'resources', 'CatalogModulePersonnel.xml')]
 
    def setpath(self,liste_modules):
       cata_path=[]