diff --git a/OMPython/__init__.py b/OMPython/__init__.py index 83dcdfed9..825d2c46d 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