Salome HOME
Updated copyright comment
[modules/smesh.git] / src / Tools / Verima / Stats / job.py
index 97c6e6134658f406725398c12be72978affd3ec7..c454a605f1e357dffc7ec4adceff46caf7ac41dd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2013-2020  EDF R&D
+# Copyright (C) 2013-2024  EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -36,7 +36,7 @@ class Job:
 
       
   def execute(self):
-      home=os.environ['HOME']
+      home=os.path.expanduser("~")
       commande=os.path.abspath(os.path.join(home,self.salomePath,"salome"))
       script= os.path.abspath(os.path.join(os.path.abspath(__file__),'../..',self.script))