Skip to content

Commit 0ef3770

Browse files
committed
small fix
1 parent 354ea0f commit 0ef3770

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tkp_utils/tornado/handlers/html.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ def get_kwargs(handler, template_kwargs):
1313

1414
class HTMLOpenHandler(ServerHandler):
1515
def initialize(self, context=None, template=None, template_kwargs=None, **kwargs):
16-
super(HTMLOpenHandler, self).initialize(**context)
17-
self.template = template
16+
super(HTMLOpenHandler, self).initialize(template=template, **context)
1817
self.template_kwargs = template_kwargs or {}
1918

2019
def get(self, *args):

0 commit comments

Comments
 (0)