forked from mirrors/bookwyrm
Python formatting
This commit is contained in:
parent
c32f975a67
commit
95cdaae4d4
1 changed files with 3 additions and 1 deletions
|
@ -138,4 +138,6 @@ def opensearch(request):
|
|||
site = models.SiteSettings.get()
|
||||
logo_path = site.favicon or "images/favicon.png"
|
||||
logo = f"{MEDIA_FULL_URL}{logo_path}"
|
||||
return TemplateResponse(request, "opensearch.xml", {"image": logo, "DOMAIN": DOMAIN})
|
||||
return TemplateResponse(
|
||||
request, "opensearch.xml", {"image": logo, "DOMAIN": DOMAIN}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue