You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
can you test ? This should have a platform independent unit test in order to be committed (i.e. set os.path to os.ntpath, check desired output, set os.path to os.posixpath, etc.).
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
The text was updated successfully, but these errors were encountered: