mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
bos #18341: HOME environment variable
This commit is contained in:
parent
822c54d232
commit
fcc928b687
@ -75,7 +75,7 @@ Prism_1 = geompy.MakePrismVecH(Faces[4], Edges[1], 100)
|
||||
geompy.addToStudy(Prism_1, "Prism_1")
|
||||
|
||||
#Save Study (9.1)
|
||||
theHomePath = os.getenv("HOME")
|
||||
theHomePath = os.path.expanduser("~")
|
||||
theFilenameToSave = theHomePath + "/Pyramid.hdf"
|
||||
if os.access(theFilenameToSave, os.F_OK):
|
||||
if os.access(theFilenameToSave, os.W_OK):
|
||||
|
Loading…
Reference in New Issue
Block a user