diff options
author | Christoph Kluenter <ckluente@thoughtworks.com> | 2015-09-14 11:03:25 -0300 |
---|---|---|
committer | Christoph Kluenter <ckluente@thoughtworks.com> | 2015-09-14 11:03:25 -0300 |
commit | 4b393a933c8d7dc236251d9dbd28c40d20f9a0bf (patch) | |
tree | 667bd5f0d3da0358af5534cede229ce487f7f6ec | |
parent | cf9cc7f7ca0cf882056d8dff506f2c1edf824bfe (diff) |
ensure the zmq is running
this fixes #455
-rw-r--r-- | service/pixelated/register.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/pixelated/register.py b/service/pixelated/register.py index 97f19d2e..2a87fa36 100644 --- a/service/pixelated/register.py +++ b/service/pixelated/register.py @@ -24,6 +24,7 @@ from pixelated.bitmask_libraries.config import LeapConfig from pixelated.bitmask_libraries.provider import LeapProvider from pixelated.bitmask_libraries.session import LeapSessionFactory from leap.auth import SRPAuth +from leap.common.events import server as events_server import pixelated.extensions.shared_db @@ -46,6 +47,7 @@ def register( if not password: password = getpass.getpass('Please enter password for %s: ' % username) + events_server.ensure_server() LeapCertificate.set_cert_and_fingerprint(provider_cert, provider_cert_fingerprint) config = LeapConfig(leap_home=leap_home) provider = LeapProvider(server_name, config) |