We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c62607 commit e54fa28Copy full SHA for e54fa28
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