This commit is contained in:
Channel Cat 2016-10-15 23:18:38 +00:00
commit 5173c67e63

View File

@ -17,7 +17,6 @@ class Sanic:
def __init__(self, name, router=None, error_handler=None): def __init__(self, name, router=None, error_handler=None):
self.name = name self.name = name
self.router = router or Router() self.router = router or Router()
self.router = router or Router()
self.error_handler = error_handler or Handler(self) self.error_handler = error_handler or Handler(self)
self.config = Config() self.config = Config()
self.request_middleware = [] self.request_middleware = []