summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/_web.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-20 19:54:10 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-20 19:57:52 -0400
commit1293f27595f19190b9bbe10cf94709cc1ba660c7 (patch)
treed41a692cd682c46665c5b3624865676ac8facc2a /src/leap/bitmask/core/_web.py
parentfb3b431897a494198b00ef8aa9bed7bc73508985 (diff)
[style] pep8 cleanup
Diffstat (limited to 'src/leap/bitmask/core/_web.py')
-rw-r--r--src/leap/bitmask/core/_web.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/_web.py b/src/leap/bitmask/core/_web.py
index c597d18e..ae223258 100644
--- a/src/leap/bitmask/core/_web.py
+++ b/src/leap/bitmask/core/_web.py
@@ -40,7 +40,6 @@ except ImportError:
HAS_WEB_UI = False
-
class HTTPDispatcherService(service.Service):
"""
@@ -59,7 +58,7 @@ class HTTPDispatcherService(service.Service):
else:
log.msg('leap.bitmask_www not found, serving bitmask.core web ui')
webdir = os.path.abspath(
- pkg_resources.resource_filename('leap.bitmask.core', 'web'))
+ pkg_resources.resource_filename('leap.bitmask.core', 'web'))
root = File(webdir)
api = Api(CommandDispatcher(self._core))
@@ -83,7 +82,6 @@ class HTTPDispatcherService(service.Service):
return {'web': status}
-
class Api(Resource):
isLeaf = True