diff options
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/core/_web.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/_web.py b/src/leap/bitmask/core/_web.py index ae223258..344e26eb 100644 --- a/src/leap/bitmask/core/_web.py +++ b/src/leap/bitmask/core/_web.py @@ -34,7 +34,7 @@ from twisted.python import log from leap.bitmask.core.dispatcher import CommandDispatcher try: - import leap.bitmask_www + import bitmask_js HAS_WEB_UI = True except ImportError: HAS_WEB_UI = False @@ -54,9 +54,9 @@ class HTTPDispatcherService(service.Service): def startService(self): if HAS_WEB_UI: webdir = os.path.abspath( - pkg_resources.resource_filename('leap.bitmask_www', 'public')) + pkg_resources.resource_filename('bitmask_js', 'public')) else: - log.msg('leap.bitmask_www not found, serving bitmask.core web ui') + log.msg('bitmask_js not found, serving bitmask.core ui') webdir = os.path.abspath( pkg_resources.resource_filename('leap.bitmask.core', 'web')) root = File(webdir) |