Skip to content

Commit 3063b99

Browse files
committed
fix(backend): default path to the bec deployments
1 parent 9bf8884 commit 3063b99

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bec_launcher/gui/backend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from __future__ import annotations
77

88
import os
9+
import sys
910
from pathlib import Path
1011
from typing import List
1112

@@ -14,7 +15,7 @@
1415
from bec_launcher.deployments import get_available_deployments, launch_deployment
1516

1617
# Default to the deployments folder in bec_launcher package
17-
DEFAULT_DEPLOYMENTS_PATH = str(Path(__file__).parent.parent / "deployments")
18+
DEFAULT_DEPLOYMENTS_PATH = str(Path(sys.prefix).parent.parent.parent / "config" / "bec")
1819

1920
# Settings keys
2021
SETTINGS_REMEMBER_CHOICE = "launcher/remember_choice"

0 commit comments

Comments
 (0)