From b3c341951d59b2fc1975ad9f278a3a77c71d5bd1 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Thu, 28 Jan 2021 01:17:30 +0200 Subject: [PATCH] Add normal exit in depends if detected python3 --- src/depends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/depends.py b/src/depends.py index 03e297f1..75be30e0 100755 --- a/src/depends.py +++ b/src/depends.py @@ -421,8 +421,8 @@ def check_dependencies(verbose=False, optional=False): if sys.hexversion >= 0x3000000: logger.error( 'PyBitmessage does not support Python 3+. Python 2.7.4' - ' or greater is required.') - has_all_dependencies = False + ' or greater is required. Python 2.7.18 is recommended.') + sys.exit() check_functions = [check_ripemd160, check_sqlite, check_openssl] if optional: