summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-28 15:46:13 -0400
committerKali Kaneko <kali@leap.se>2016-04-28 15:46:13 -0400
commitda45ed15190ea0f9c7c38b6312239f27664545a4 (patch)
treea843e753e1aa1d333e7eaa9f8e47d92d85705414 /src
parent64e4a8e4d5ed26014e8542d73a6bc989b8666598 (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')
-rw-r--r--src/leap/bitmask/core/service.py2
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)