From c097cf21dee890f40ce529a0374227e2f93199ab Mon Sep 17 00:00:00 2001 From: Chris Arderne Date: Sun, 14 Jul 2024 14:07:43 +0100 Subject: [PATCH] fix pysqlcipher3 import check --- sigexport/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigexport/main.py b/sigexport/main.py index f4fad54..0a2b70f 100755 --- a/sigexport/main.py +++ b/sigexport/main.py @@ -167,7 +167,7 @@ def main( data = {"convos": convos_dict, "contacts": contacts_dict} print(DATA_DELIM, json.dumps(data), DATA_DELIM) raise Exit() - except Exception: + except (ImportError, ModuleNotFoundError): secho("You set 'no-use-docker' but `pysqlcipher3` not installed properly") sys.exit(1)