We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b85b59d commit aa9addbCopy full SHA for aa9addb
1 file changed
OMPython/OMCSession.py
@@ -386,7 +386,7 @@ def is_absolute(self) -> bool:
386
"""
387
if isinstance(self._session, OMCSessionLocal) and platform.system() == 'Windows':
388
return pathlib.PureWindowsPath(self.as_posix()).is_absolute()
389
- return self.is_absolute()
+ return pathlib.PurePosixPath(self.as_posix()).is_absolute()
390
391
def read_text(self) -> str:
392
0 commit comments