From 0825f0e49be9c652ad6b8733271cab6ba975b848 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 4 Sep 2017 11:24:56 +0200 Subject: fixed Codacy's stuff --- lib/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/web.py') 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: -- cgit v1.2.3-18-g5258