diff --git a/src/epplibwrapper/__init__.py b/src/epplibwrapper/__init__.py index 81add8e79..d0138d73c 100644 --- a/src/epplibwrapper/__init__.py +++ b/src/epplibwrapper/__init__.py @@ -44,8 +44,6 @@ except NameError: # Attn: these imports should NOT be at the top of the file try: - from epplibwrapper.socket import Socket - from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes from .client import CLIENT, commands from .errors import RegistryError, ErrorCode, CANNOT_CONTACT_REGISTRY, GENERIC_ERROR from epplib.models import common, info diff --git a/src/epplibwrapper/client.py b/src/epplibwrapper/client.py index b83f481b1..5381f7ce1 100644 --- a/src/epplibwrapper/client.py +++ b/src/epplibwrapper/client.py @@ -234,8 +234,7 @@ class EPPLibWrapper: try: # Initialize epplib - #CLIENT = EPPLibWrapper() - CLIENT = None + CLIENT = EPPLibWrapper() logger.info("registry client initialized") except Exception: CLIENT = None # type: ignore