Skip to content

Commit

Permalink
Resolved conflict with compose.yaml by removing the file
Browse files Browse the repository at this point in the history
  • Loading branch information
NolanTrem committed Mar 3, 2025
2 parents 7a34864 + e905561 commit dacd91d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
4 changes: 2 additions & 2 deletions py/core/main/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def from_toml(cls, config_path: Optional[str] = None) -> "R2RConfig":
config_path = R2RConfig.default_config_path

# Load configuration from TOML file
with open(config_path) as f:
with open(config_path, encoding="utf-8") as f:
config_data = toml.load(f)

return cls(config_data)
Expand All @@ -164,7 +164,7 @@ def to_toml(self):

@classmethod
def load_default_config(cls) -> dict:
with open(R2RConfig.default_config_path) as f:
with open(R2RConfig.default_config_path, encoding="utf-8") as f:
return toml.load(f)

@staticmethod
Expand Down

0 comments on commit dacd91d

Please sign in to comment.