Skip to content

Commit

Permalink
toml -> TOML
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Jan 26, 2024
1 parent e11fbc2 commit 1ae5ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piccolo/conf/overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_toml_contents(self) -> t.Dict[str, t.Any]:
with open(toml_file_path, "rb") as f:
self._toml_contents = tomllib.load(f)
else:
raise FileNotFoundError("The toml file wasn't found.")
raise FileNotFoundError("The TOML file wasn't found.")

return self._toml_contents

Expand All @@ -71,7 +71,7 @@ def get_override(self, key: str, default: t.Any = None) -> t.Any:
if value is ...:
return default

logger.debug(f"Loaded {key} from toml file.")
logger.debug(f"Loaded {key} from TOML file.")
return value

def validate(self):
Expand Down

0 comments on commit 1ae5ddc

Please sign in to comment.