Flake8 fixes
This commit is contained in:
parent
0bd7eff8d6
commit
be86ddfea8
@ -23,8 +23,9 @@ class MusicBoxExtension(ext.Extension):
|
||||
return schema
|
||||
|
||||
def setup(self, registry):
|
||||
registry.add('http:app', {'name': self.ext_name, 'factory': self.factory})
|
||||
|
||||
registry.add(
|
||||
'http:app', {'name': self.ext_name, 'factory': self.factory})
|
||||
|
||||
def factory(self, config, core):
|
||||
from tornado.web import RedirectHandler
|
||||
from .web import IndexHandler, StaticHandler
|
||||
|
||||
@ -24,7 +24,7 @@ class StaticHandler(tornado.web.StaticFileHandler):
|
||||
def get_version(cls, settings, path):
|
||||
return MusicBoxExtension.version
|
||||
|
||||
|
||||
|
||||
class IndexHandler(tornado.web.RequestHandler):
|
||||
|
||||
def initialize(self, config, path):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user