Skip to content
Permalink
Browse files

Fix UnboundLocalError when building jinja site

06b18f6 fixed a bug with messed up
names, but missed out one spot.
  • Loading branch information...
punchagan committed Jun 23, 2016
1 parent 826d110 commit 11e77728ede9027eea8d95fbbbff1f0dec588bbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/template/jinja.py
@@ -97,7 +97,7 @@ def render_template(self, template_name, output_name, context):
makedirs(os.path.dirname(output_name))
with io.open(output_name, 'w', encoding='utf-8') as output:
output.write(data)
return output
return data

def render_template_to_string(self, template, context):
"""Render template to a string using context."""

0 comments on commit 11e7772

Please sign in to comment.
You can’t perform that action at this time.