converted default_config_path and get_config_dir
This commit is contained in:
+3
-2
@@ -69,8 +69,9 @@ class BenchmarkConfig:
|
||||
|
||||
|
||||
def get_config_dir() -> Path:
|
||||
"""Get the path to the config file."""
|
||||
return Path(__file__).resolve().parent.parent.parent / "config"
|
||||
"""Get the path to the config directory."""
|
||||
return Path(__file__).resolve().parents[2] / "config"
|
||||
|
||||
|
||||
def default_config_path() -> Path:
|
||||
"""Get the path to the config file."""
|
||||
|
||||
Reference in New Issue
Block a user