From 3dd2d3de9354ceecced7a8d48e1e5738bbbf2377 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 25 Jul 2024 00:52:16 +0200 Subject: [PATCH] Update configHandler.py --- BridgeEmulator/configManager/configHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BridgeEmulator/configManager/configHandler.py b/BridgeEmulator/configManager/configHandler.py index db9e4aa0b..e81910977 100644 --- a/BridgeEmulator/configManager/configHandler.py +++ b/BridgeEmulator/configManager/configHandler.py @@ -34,7 +34,7 @@ def _write_yaml(path, contents): class Config: yaml_config = None configDir = parse_arguments()["CONFIG_PATH"] - runningDir = str(pathlib.Path(__file__).parent.resolve()) + runningDir = str(pathlib.Path(__file__)).replace("/configManager/configHandler.py","") def __init__(self): if not os.path.exists(self.configDir):