From f2bf332490e9a13c0db036693b6f1a0f0113a1df Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 6 Mar 2019 21:11:09 +0100 Subject: [PATCH] Starlette.__init__: remove template_directory arg (#421) This appears to be unused since 37ee43e. --- starlette/applications.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/starlette/applications.py b/starlette/applications.py index 9de11263..308f4f89 100644 --- a/starlette/applications.py +++ b/starlette/applications.py @@ -11,10 +11,7 @@ from starlette.types import ASGIApp, ASGIInstance, Scope class Starlette: def __init__( - self, - debug: bool = False, - routes: typing.List[BaseRoute] = None, - template_directory: str = None, + self, debug: bool = False, routes: typing.List[BaseRoute] = None ) -> None: self._debug = debug self.router = Router(routes)