diff --git a/flask/templating.py b/flask/templating.py index 8ec0d02d..90fa4bc1 100644 --- a/flask/templating.py +++ b/flask/templating.py @@ -75,7 +75,7 @@ class DispatchingJinjaLoader(BaseLoader): return tmplrv raise TemplateNotFound(template) - def _iter_loaders(self, template): + def _iter_loaders(self): loader = self.app.jinja_loader if loader is not None: yield self.app, loader