Skip to content

Commit

Permalink
Decode Jinja2 template off the filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
dstufft committed Mar 19, 2017
1 parent 642df45 commit c48a58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/towncrier/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __main(draft, directory, project_version, project_date):
"templates/template.rst").decode('utf8')
else:
with open(config['template'], 'rb') as tmpl:
template = tmpl.read()
template = tmpl.read().decode('utf8')

click.echo("Finding news fragments...", err=to_err)

Expand Down

0 comments on commit c48a58f

Please sign in to comment.