Skip to content
Permalink
Browse files
fix jinjify for python 3 (cc @felixfontein)
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 10, 2015
1 parent 64e8e4a commit a573ed9a2b38fd0a71db6296aaf03ec18c28b73f
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/jinjify.py
@@ -77,10 +77,10 @@ def jinjify(in_theme, out_theme):
if child in mappings:
parent = mappings[child]

with open(os.path.join(out_theme, "parent"), "wb+") as outf:
with io.open(os.path.join(out_theme, "parent"), "w+", encoding='utf-8') as outf:
outf.write(parent + '\n')

with open(os.path.join(out_theme, "engine"), "wb+") as outf:
with io.open(os.path.join(out_theme, "engine"), "w+", encoding='utf-8') as outf:
outf.write("jinja\n")

# Copy assets

0 comments on commit a573ed9

Please sign in to comment.