Skip to content

Commit 5e2e7a7

Browse files
committed
REFACTOR: Simply reading
1 parent 2af0b1e commit 5e2e7a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ansys/aedt/core/desktop.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,9 +1933,8 @@ def get_available_cloud_config(self, region="westeurope"): # pragma: no cover
19331933
ansys_cloud_cli_path = Path(self.install_path) / "common" / "AnsysCloudCLI" / "AnsysCloudCli.exe"
19341934
if not Path(ansys_cloud_cli_path).exists():
19351935
raise FileNotFoundError("Ansys Cloud CLI not found. Check the installation path.")
1936-
command = [ansys_cloud_cli_path]
19371936
ver = self.aedt_version_id.replace(".", "R")
1938-
command += ["getQueues", "-p", "AEDT", "-v", ver, "--details"]
1937+
command = [ansys_cloud_cli_path, "getQueues", "-p", "AEDT", "-v", ver, "--details"]
19391938
cloud_info = Path(tempfile.gettempdir()) / generate_unique_name("cloud_info")
19401939
try:
19411940
with open_file(cloud_info, "w") as outfile:

0 commit comments

Comments
 (0)