]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg_db.py
Style: Fix `flake8` error E722 bare 'except'
[xsetbg.git] / xsetbg_db.py
index 406ca9609809caf9c77714a2b66e3091f0af7425..dfa65fce7f307daaaac90c88daadb1143be63674 100755 (executable)
@@ -57,7 +57,7 @@ class SQLiteMassInsert(object):
 db_dirs = []
 try:
     xsetbg_db_path = xsetbg_conf.get('xsetbg', 'database')
-except:
+except Exception:
     xsetbg_db_path = None
 
 if not xsetbg_db_path: