1. Michael Bayer
  2. mako
  3. Issues

Issues

Issue #34 resolved

the module_directory's process bug

guest
created an issue

the patch fixed this.

  1. !python mylookup = TemplateLookup( directories=['./'], module_directory='./', output_encoding='gbk', default_filters=['decode.gbk']) mytemplate = mylookup.get_template( 'table.txt' ) print mytemplate.render( title=['csdm', 'csmc', 'csz'] )

raise

OSError: [Errno 2] No such file or directory: ''

Comments (1)

  1. Log in to comment