Commits

Vlad Riscutia committed e584427

Patch for rendering posts with unicode characters on Python2x

Comments (0)

Files changed (1)

tinkerer/writer.py

     Renders the given template at the given destination with the given context.
     '''
     with open(destination, "w") as dest:
-        dest.write(env.get_template(template).render(context))
+        dest.write(env.get_template(template).render(context).encode("utf8"))