Skip to content

Commit bfd968d

Browse files
committed
Change relative path to absolute path using ROOT_PATH
1 parent e0abe65 commit bfd968d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/config_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
from model.config.config_google_api import ConfigGoogleApi
66
from model.config.config_subtitles import ConfigSubtitles
77
from model.config.config_whisperx import ConfigWhisperX
8+
from utils.path_helper import ROOT_PATH
89

910

1011
class ConfigManager:
11-
_FILE_PATH = Path("../config.ini")
12+
_FILE_PATH = ROOT_PATH / "config.ini"
1213
KeyType = Union[ConfigWhisperX.Key, ConfigGoogleApi.Key, ConfigSubtitles.Key]
1314

1415
@staticmethod

0 commit comments

Comments
 (0)