Skip to content

Commit 390a14d

Browse files
committed
??? small fix
1 parent f74dc5c commit 390a14d

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
@@ -434,7 +434,7 @@ def cwd(self) -> OMPathBase:
434434
Returns the current working directory as an OMPathBase object.
435435
"""
436436
cwd_str = self._session.sendExpression('cd()')
437-
return self.__class__(cwd_str, session=self._session)
437+
return type(self)(cwd_str, session=self._session)
438438

439439
def unlink(self, missing_ok: bool = False) -> None:
440440
"""

0 commit comments

Comments
 (0)