Skip to content

Commit e799a7e

Browse files
committed
[OMCSessionZMQ] fix another not needed else
1 parent 7306588 commit e799a7e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

OMPython/OMCSession.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,7 @@ def omcpath(self, *path) -> OMCPath:
623623
# noinspection PyArgumentList
624624
return OMCPath(*path)
625625
raise OMCSessionException("OMCPath is supported for Python < 3.12 only if OMCProcessLocal is used!")
626-
else:
627-
return OMCPath(*path, session=self)
626+
return OMCPath(*path, session=self)
628627

629628
def omcpath_tempdir(self, tempdir_base: Optional[OMCPath] = None) -> OMCPath:
630629
"""

0 commit comments

Comments
 (0)