mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-26 11:34:32 +00:00
fixed bad library ref
This commit is contained in:
parent
133e2c6787
commit
d7b7a32396
1 changed files with 1 additions and 1 deletions
|
|
@ -629,7 +629,7 @@ class LogoViewSet(viewsets.ModelViewSet):
|
|||
if logo_url.startswith("/data"): # Local file
|
||||
if not os.path.exists(logo_url):
|
||||
raise Http404("Image not found")
|
||||
mimetype = mimetype.guess_type(logo_url)
|
||||
mimetype = mimetypes.guess_type(logo_url)
|
||||
return FileResponse(open(logo_url, "rb"), content_type=mimetype)
|
||||
|
||||
else: # Remote image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue