Skip to content

Commit 0786854

Browse files
committed
fix OMCPathCompatibility
1 parent 77bb180 commit 0786854

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/OMCSession.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def size(self) -> int:
415415

416416
if sys.version_info < (3, 12):
417417

418-
class OMCPathCompatibility(pathlib.PurePath):
418+
class OMCPathCompatibility(pathlib.Path):
419419
"""
420420
Compatibility class for OMCPath in Python < 3.12. This allows to run all code which uses OMCPath (mainly
421421
ModelicaSystem) on these Python versions. There is one remaining limitation: only OMCProcessLocal will work as

0 commit comments

Comments
 (0)