Skip to content

Commit b319329

Browse files
committed
Change MacOS -> Darwin in os.system() identification
1 parent d146faa commit b319329

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CfdOF/CfdTools.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ def checkCfdDependencies(msgFn):
12031203
else:
12041204
if platform.system() == 'Windows':
12051205
pvpython_cmd = paraview_cmd.rstrip('paraview.exe')+'pvpython.exe'
1206-
elif platform.system() == "MacOS":
1206+
elif platform.system() == "Darwin":
12071207
pvpython_cmd = paraview_cmd.rstrip('paraview')
12081208
dirs = os.path.split(pvpython_cmd)
12091209
if dirs[1] == 'MacOS':
@@ -1657,7 +1657,7 @@ def propsToDict(obj):
16571657

16581658
def openFileManager(case_path):
16591659
case_path = os.path.abspath(case_path)
1660-
if platform.system() == 'MacOS':
1660+
if platform.system() == 'Darwin':
16611661
subprocess.Popen(['open', '--', case_path])
16621662
elif platform.system() == 'Linux':
16631663
subprocess.Popen(['xdg-open', case_path])

package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package format="1">
33
<name>CfdOF</name>
44
<description>Computational Fluid Dynamics (CFD) for FreeCAD based on OpenFOAM</description>
5-
<version>1.25.6</version>
5+
<version>1.25.7</version>
66
<maintainer email="[email protected]">Oliver Oxtoby</maintainer>
77
<license file="LICENSE">LGPL-2.0-or-later</license>
88
<url type="repository" branch="master">https://github.com/jaheyns/CfdOF</url>

0 commit comments

Comments
 (0)