Skip to content

Commit 4d901fc

Browse files
Update base.py
To support repository URL as a path
1 parent b9e5523 commit 4d901fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hermes/commands/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def init_command_parser(self, command_parser: argparse.ArgumentParser) -> None:
132132
def load_settings(self, args: argparse.Namespace):
133133
"""Load settings from the configuration file (passed in from command line)."""
134134
try:
135-
toml_data = toml.load(args.path / args.config)
135+
toml_data = toml.load("." / args.config)
136136
self.root_settings = HermesCommand.settings_class.model_validate(toml_data)
137137
self.settings = getattr(self.root_settings, self.command_name)
138138
except FileNotFoundError as e:

0 commit comments

Comments
 (0)