Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
invisibleroads committed Feb 11, 2023
1 parent 150a9ee commit f3b2399
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invisibleroads_macros_web/starlette.py
Expand Up @@ -25,6 +25,7 @@ async def send_with_extra_headers(message):

class TemplateResponseFactory(Jinja2Templates):

def __init__(self, environment):
def __init__(self, environment, context_processors=None):
'Assume nothing about the template environment'
self.env = environment
self.context_processors = context_processors or []

0 comments on commit f3b2399

Please sign in to comment.