From 7461dee2f53b3c88fe1c1af34d9ca90fbee69f8d Mon Sep 17 00:00:00 2001 From: Kiryl Date: Mon, 12 Dec 2022 13:14:03 +0300 Subject: [PATCH] config->configs --- consumer.py | 2 +- src/access.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/consumer.py b/consumer.py index 4f39741..4e34093 100644 --- a/consumer.py +++ b/consumer.py @@ -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) diff --git a/src/access.py b/src/access.py index 379f47c..e6f74f6 100644 --- a/src/access.py +++ b/src/access.py @@ -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)