Permalink
Browse files

Merge remote-tracking branch 'dmitric/master'

  • Loading branch information...
2 parents 7c34eec + 5339614 commit 54c807cccb5e597a20b866c6041d1bd34f2396d8 @bdarnell bdarnell committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornado/template.py
View
@@ -479,7 +479,7 @@ def generate(self, writer):
writer.write_line("_append = _buffer.append", self.line)
self.body.generate(writer)
writer.write_line("return _utf8('').join(_buffer)", self.line)
- writer.write_line("_append(%s(%s()))" % (
+ writer.write_line("_append(_utf8(%s(%s())))" % (
self.method, method_name), self.line)

0 comments on commit 54c807c

Please sign in to comment.