diff options
-rw-r--r-- | service/pixelated/config/__init__.py | 2 | ||||
-rw-r--r-- | service/pixelated/config/soledad.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/service/pixelated/config/__init__.py b/service/pixelated/config/__init__.py index 53c49e16..e2de0186 100644 --- a/service/pixelated/config/__init__.py +++ b/service/pixelated/config/__init__.py @@ -59,7 +59,7 @@ def initialize(): loading_app = loading(args) def init_soledad(): - return init_soledad_and_user_key(app) + return init_soledad_and_user_key(app, args.home) def stop_loading_app(leap_session): d = loading_app.stopListening() diff --git a/service/pixelated/config/soledad.py b/service/pixelated/config/soledad.py index 3a033f09..13a6dbd4 100644 --- a/service/pixelated/config/soledad.py +++ b/service/pixelated/config/soledad.py @@ -17,10 +17,11 @@ from pixelated.bitmask_libraries.session import open as open_leap_session -def init_soledad_and_user_key(app): +def init_soledad_and_user_key(app, leap_home): leap_session = open_leap_session(app['LEAP_USERNAME'], app['LEAP_PASSWORD'], - app['LEAP_SERVER_NAME']) + app['LEAP_SERVER_NAME'], + leap_home) soledad = leap_session.soledad_session.soledad soledad.sync(defer_decryption=False) leap_session.nicknym.generate_openpgp_key() |