Skip to content

module_directory not handled properly when given an absolute template path on Windows #128

@sqlalchemy-bot

Description

@sqlalchemy-bot

Migrated issue, originally created by Anonymous

When an absolute path is given on windows (i.e. c:\ or d:) for the filename parameter to Template.init, then the module_directory parameter is ignored because of how os.path.join works.

A patch is attached to emulate the way absolute paths work on posix systems.


Attachments: win32fix.diff

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions