diff options
author | Santo Cariotti <sancn@live.com> | 2017-09-04 11:24:56 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-09-04 11:24:56 +0200 |
commit | 0825f0e49be9c652ad6b8733271cab6ba975b848 (patch) | |
tree | 05bdb5be53e6c50d9e18c3a641427dd99575e08a /lib/web.py | |
parent | 03a094d09269abf16612ddfb498f600ee2a3dd25 (diff) |
fixed Codacy's stuff
Diffstat (limited to 'lib/web.py')
-rw-r--r-- | lib/web.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |