Skip to content

Commit

Permalink
fix: website config
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Ortega <[email protected]>
  • Loading branch information
M0NsTeRRR committed May 31, 2024
1 parent 74a6ee3 commit 822ff92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hyperglass/models/config/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ class Params(ParamsPublic, HyperglassModel):
web: Web = Web()

def __init__(self, **kw: t.Any) -> None:
return super().__init__(**self.convert_paths(kw))
if "plugins" in kw:
kw["plugins"] = self.convert_paths(kw["plugins"])
return super().__init__(**kw)

@field_validator("site_description")
def validate_site_description(cls: "Params", value: str, info: ValidationInfo) -> str:
Expand Down

0 comments on commit 822ff92

Please sign in to comment.