Simplify `Config.read()`

This commit is contained in:
Adam Turner 2023-12-29 17:12:19 +00:00
parent 826ba0fcd9
commit 0145f95716

View File

@ -196,7 +196,7 @@ class Config:
"Falling back to 'en' (English)."))
namespace["language"] = "en"
return cls(namespace, overrides or {})
return cls(namespace, overrides)
def convert_overrides(self, name: str, value: Any) -> Any:
if not isinstance(value, str):