summaryrefslogtreecommitdiffstats
path: root/pyload/webui
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/webui')
-rw-r--r--pyload/webui/middlewares.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/middlewares.py b/pyload/webui/middlewares.py
index 5f56f81ee..19328f9ef 100644
--- a/pyload/webui/middlewares.py
+++ b/pyload/webui/middlewares.py
@@ -124,7 +124,7 @@ class GzipResponse(object):
if hasattr(app_iter, 'close'):
try:
app_iter.close()
- except :
+ except Exception:
pass
content_length = self.buffer.tell()