From 649422cedb362202e53cfeea3414b02cd8281a47 Mon Sep 17 00:00:00 2001 From: belthlemar Date: Wed, 27 Nov 2024 17:43:24 +0100 Subject: [PATCH] remove line --- antarest/launcher/adapters/local_launcher/local_launcher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/antarest/launcher/adapters/local_launcher/local_launcher.py b/antarest/launcher/adapters/local_launcher/local_launcher.py index d3cee3ac70..c0d91681c7 100644 --- a/antarest/launcher/adapters/local_launcher/local_launcher.py +++ b/antarest/launcher/adapters/local_launcher/local_launcher.py @@ -47,8 +47,7 @@ def _parse_launcher_options(launcher_parameters: LauncherParametersDTO) -> Tuple # todo: remove this path hard-coded xpress_dir_path = "my_path" environment_variables["XPRESSDIR"] = xpress_dir_path - os_sep = "\\" if os.name == "nt" else "/" - environment_variables["XPRESS"] = environment_variables["XPRESSDIR"] + os_sep + "bin" + environment_variables["XPRESS"] = environment_variables["XPRESSDIR"] + os.sep + "bin" elif "coin" in launcher_parameters.other_options: solver = ["--use-ortools", "--ortools-solver=coin"] if solver: