Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions d2go/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def dump(self, *args, **kwargs):
cfg._run_custom_processing(is_dump=True)
return super(CfgNode, cfg).dump(*args, **kwargs)

@staticmethod
def load_yaml_with_base(filename: str, *args, **kwargs):
@classmethod
def load_yaml_with_base(cls, filename: str, *args, **kwargs):
filename = reroute_config_path(filename)
with reroute_load_yaml_with_base():
return _CfgNode.load_yaml_with_base(filename, *args, **kwargs)
Expand Down