summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/pixelated/bitmask_libraries/session.py2
-rw-r--r--service/pixelated/config/initialize_leap.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/bitmask_libraries/session.py b/service/pixelated/bitmask_libraries/session.py
index 1c8c8c3b..5562e67c 100644
--- a/service/pixelated/bitmask_libraries/session.py
+++ b/service/pixelated/bitmask_libraries/session.py
@@ -36,7 +36,7 @@ from .config import DEFAULT_LEAP_HOME
SESSIONS = {}
-def open(username, password, server_name, leap_home=DEFAULT_LEAP_HOME):
+def open_leap_session(username, password, server_name, leap_home=DEFAULT_LEAP_HOME):
config = LeapConfig(leap_home=leap_home)
provider = LeapProvider(server_name, config)
refresh_ca_bundle(provider)
diff --git a/service/pixelated/config/initialize_leap.py b/service/pixelated/config/initialize_leap.py
index 2296f1fd..df7b8412 100644
--- a/service/pixelated/config/initialize_leap.py
+++ b/service/pixelated/config/initialize_leap.py
@@ -2,6 +2,7 @@ from pixelated.config.config import Config
from pixelated.config.config_ua import config_user_agent
from pixelated.config.dispatcher import config_dispatcher
import pixelated.bitmask_libraries.certs as certs
+from pixelated.bitmask_libraries.session import open_leap_session
def initialize_leap(leap_provider_cert,