Skip to content

Commit

Permalink
[ModelicaSystem] log tempdir (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
syntron authored Dec 17, 2024
1 parent 1f425a4 commit b18ab48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OMPython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@ def setTempDirectory(self, customBuildDirectory):
if not os.path.exists(self.tempdir):
raise IOError(self.tempdir, " cannot be created")

logger.info("Define tempdir as {}".format(self.tempdir))
exp = "".join(["cd(", "\"", self.tempdir, "\"", ")"]).replace("\\", "/")
self.getconn.sendExpression(exp)

Expand Down

0 comments on commit b18ab48

Please sign in to comment.