Skip to content

the module_directory's process bug #34

Description

@sqlalchemy-bot

Migrated issue, originally created by Anonymous

the patch fixed this.

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: '' 

Attachments: template.patch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions