diff --git a/electrum b/electrum index 75e5e0a8c..5fb3c91fa 100755 --- a/electrum +++ b/electrum @@ -69,8 +69,7 @@ from google.protobuf import descriptor_pb2 try: from ecdsa.ecdsa import curve_secp256k1, generator_secp256k1 except Exception: - print "cannot import ecdsa.curve_secp256k1. You probably need to upgrade ecdsa.\nTry: sudo pip install --upgrade ecdsa" - exit() + sys.exit("cannot import ecdsa.curve_secp256k1. You probably need to upgrade ecdsa.\nTry: sudo pip install --upgrade ecdsa") # load local module as electrum