mako
mako copied to clipboard
TGPlugin.render method doesn't support unicode template names
Migrated issue, originally created by Anonymous
Traceback (most recent call last):
File "/Users/vm/ws/mako/test/test_tgplugin.py", line 48, in test_render
assert result_lines(tl.render({}, template=u'/index.html')) == [
File "/Users/vm/ws/mako/mako/ext/turbogears.py", line 57, in render
return template.render(**info)
AttributeError: 'unicode' object has no attribute 'render'
Pull request: https://github.com/zzzeek/mako/pull/5
Anonymous wrote:
Is there something else in the pull request I have to change?