Skip to content

Commit aa9addb

Browse files
committed
?? fix is_absolute()
1 parent b85b59d commit aa9addb

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
@@ -386,7 +386,7 @@ def is_absolute(self) -> bool:
386386
"""
387387
if isinstance(self._session, OMCSessionLocal) and platform.system() == 'Windows':
388388
return pathlib.PureWindowsPath(self.as_posix()).is_absolute()
389-
return self.is_absolute()
389+
return pathlib.PurePosixPath(self.as_posix()).is_absolute()
390390

391391
def read_text(self) -> str:
392392
"""

0 commit comments

Comments
 (0)