Commit b0765088 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

move default config to data/

parent 628eb736
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ def read_config(config_path: Optional[str] = None) -> dict:
    """
    # if config_path is specified, use it, otherwise use the default
    if config_path is None:
        config_path: str = os.path.join(HERE, "config", "default_config.toml")
        config_path: str = os.path.join(HERE, "data", "default_config.toml")
    # read the config file
    config: dict = toml.load(config_path)
    return config