diff --git a/src/helper_random.py b/src/helper_random.py index 4290689c..54db5acf 100644 --- a/src/helper_random.py +++ b/src/helper_random.py @@ -2,11 +2,7 @@ import os import random - -try: - from pyelliptic.openssl import OpenSSL -except ModuleNotFoundError: - from .pyelliptic.openssl import OpenSSL +from pyelliptic.openssl import OpenSSL NoneType = type(None) diff --git a/src/highlevelcrypto.py b/src/highlevelcrypto.py index 6f0f2e28..995c5d00 100644 --- a/src/highlevelcrypto.py +++ b/src/highlevelcrypto.py @@ -11,22 +11,13 @@ from binascii import hexlify try: import pyelliptic -except ImportError: - from . import pyelliptic - -try: from bmconfigparser import BMConfigParser -except ImportError: - from .bmconfigparser import BMConfigParser - -try: from pyelliptic import OpenSSL -except ImportError: - from .pyelliptic import OpenSSL - -try: from pyelliptic import arithmetic as a except ImportError: + from . import pyelliptic + from .bmconfigparser import BMConfigParser + from .pyelliptic import OpenSSL from .pyelliptic import arithmetic as a