summaryrefslogtreecommitdiffstats
path: root/pyload/manager/thread/ServerThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/manager/thread/ServerThread.py')
-rw-r--r--pyload/manager/thread/ServerThread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/manager/thread/ServerThread.py b/pyload/manager/thread/ServerThread.py
index 7de3b1ca1..0f3ed01ff 100644
--- a/pyload/manager/thread/ServerThread.py
+++ b/pyload/manager/thread/ServerThread.py
@@ -44,7 +44,7 @@ class WebServer(threading.Thread):
elif self.server == "fastcgi":
try:
import flup
- except:
+ except Exception:
log.warning(_("Can't use %(server)s, python-flup is not installed!") % {
"server": self.server})
reset = True