diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-28 15:46:13 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-28 15:51:22 -0400 |
commit | 245e49dc00b87a9db77e9753d739db64b3268658 (patch) | |
tree | ea6d440593da0a8212900859c8bbec2013c9fb95 /src/leap/bitmask | |
parent | 8ea98a7b502fcfd8b3ab67f31d92f25be3939af5 (diff) |
[bug] do not force autobahn dependency yet
websockets interface is not mature enough yet, make this dependency
optional, for the case the user actively enables it.
- Releases: 0.9.2
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/core/service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/service.py b/src/leap/bitmask/core/service.py index 13c8864a..ceda6353 100644 --- a/src/leap/bitmask/core/service.py +++ b/src/leap/bitmask/core/service.py @@ -26,7 +26,6 @@ from leap.bitmask import __version__ from leap.bitmask.core import configurable from leap.bitmask.core import mail_services from leap.bitmask.core import _zmq -from leap.bitmask.core import websocket from leap.bonafide.service import BonafideService from leap.common.events import server as event_server # from leap.vpn import EIPService @@ -103,6 +102,7 @@ class BitmaskBackend(configurable.ConfigurableService): zs.setServiceParent(self) def init_web(self): + from leap.bitmask.core import websocket ws = websocket.WebSocketsDispatcherService(self) ws.setServiceParent(self) |