]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/db.py
Cleanup: Fix flake8 E722 do not use bare except
[m_librarian.git] / m_librarian / db.py
index 628675ef1e2c9d3ce4573ba1240b542784d5e499..d81619da0d39e92e14d05bd7b8bd7e6546cbc109 100755 (executable)
@@ -147,7 +147,7 @@ def open_db(db_uri=None):
     if db_uri is None:
         try:
             db_uri = get_config().get('database', 'URI')
-        except:
+        except Exception:
             db_uri = find_sqlite_dburi()
 
     if '://' not in db_uri: