diff options
Diffstat (limited to 'BlackSmith.py')
-rw-r--r-- | BlackSmith.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BlackSmith.py b/BlackSmith.py index 46ed62a..1d7c45a 100644 --- a/BlackSmith.py +++ b/BlackSmith.py @@ -170,8 +170,8 @@ class SelfExc(Exception): pass def check_sqlite(): - - assert itypes.sqlite3, "py-sqlite3 required" + if not itypes.sqlite3: + raise SelfExc("py-sqlite3 required") def exc_info(): exc, err, tb = sys.exc_info() |