From 3f8840a4e5533b4b8101bc328a82bc359a6e6e7e Mon Sep 17 00:00:00 2001 From: syntron Date: Wed, 11 Dec 2024 21:18:13 +0100 Subject: [PATCH] [ModelicaSystem._run_cmd] remove unused variable --- OMPython/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/OMPython/__init__.py b/OMPython/__init__.py index 83dcdfe..825d2c4 100644 --- a/OMPython/__init__.py +++ b/OMPython/__init__.py @@ -947,7 +947,6 @@ def _run_cmd(self, cmd: list): logger.debug("Run OM command {} in {}".format(cmd, self.tempdir)) if platform.system() == "Windows": - omhome = os.path.join(os.environ.get("OPENMODELICAHOME")) dllPath = "" ## set the process environment from the generated .bat file in windows which should have all the dependencies