aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newspipe/web/views/icon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/web/views/icon.py b/newspipe/web/views/icon.py
index 80a87448..99535c04 100644
--- a/newspipe/web/views/icon.py
+++ b/newspipe/web/views/icon.py
@@ -15,7 +15,7 @@ def icon():
icon = IconController().get(url=request.args["url"])
headers = {"Cache-Control": "max-age=86400", "Content-Type": icon.mimetype}
return Response(base64.b64decode(icon.content), headers=headers)
- except:
+ except Exception:
headers = {"Cache-Control": "max-age=86400", "Content-Type": "image/gif"}
return Response(
base64.b64decode(
bgstack15