config->configs

This commit is contained in:
Kiryl
2022-12-12 13:14:03 +03:00
parent 59340ee584
commit 7461dee2f5
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ def server_run():
try:
folder_path = os.path.dirname(os.path.abspath(__file__))
config_path = Path(os.path.join(
folder_path, "config/queue_config.json"))
folder_path, "configs/queue_config.json"))
with open(config_path, "r") as f:
conf_param = json.load(f)

View File

@@ -42,7 +42,7 @@ class Access:
def set_credentials(self, url: str):
folder_path: str = os.path.dirname(
os.path.dirname(os.path.abspath(__file__)))
config_path: str = os.path.join(folder_path, "config/api_config.json")
config_path: str = os.path.join(folder_path, "configs/api_config.json")
with open(config_path, "r") as f:
params: Dict[str, str] = json.load(f)