summaryrefslogtreecommitdiff
path: root/lib/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web.py')
-rw-r--r--lib/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web.py b/lib/web.py
index bbad99d..ca8e10f 100644
--- a/lib/web.py
+++ b/lib/web.py
@@ -8,7 +8,7 @@ def hello():
with open(config['path'], 'rb') as fout:
try:
lines = fout.readlines()
- except:
+ except Exception as e:
lines = ''
if lines is not None: