summaryrefslogtreecommitdiff
path: root/lib/web.py
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-09-04 11:24:56 +0200
committerSanto Cariotti <sancn@live.com>2017-09-04 11:24:56 +0200
commit0825f0e49be9c652ad6b8733271cab6ba975b848 (patch)
tree05bdb5be53e6c50d9e18c3a641427dd99575e08a /lib/web.py
parent03a094d09269abf16612ddfb498f600ee2a3dd25 (diff)
fixed Codacy's stuff
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: