Issues

Issue #223 new

TGPlugin.render method doesn't support unicode template names

guest
created an issue
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

Comments (1)

  1. Log in to comment