Skip to content

Commit

Permalink
blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Oct 4, 2024
1 parent 2c50d48 commit 5233bed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/collective/volto/sitesettings/restapi/services/site/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ def __call__(self, expand=False):
result["site"][f"plone.{field}"][
"url"
] = f"{site_url}/registry-images/@@images/{field}/{filename}"
result["site"][f"plone.{field}"]["width"] = (
self.get_value_from_registry(additional_settings, f"{field}_width")
)
result["site"][f"plone.{field}"]["height"] = (
self.get_value_from_registry(additional_settings, f"{field}_height")
)
result["site"][f"plone.{field}"][
"width"
] = self.get_value_from_registry(additional_settings, f"{field}_width")
result["site"][f"plone.{field}"][
"height"
] = self.get_value_from_registry(additional_settings, f"{field}_height")

return result

Expand Down

0 comments on commit 5233bed

Please sign in to comment.