watsonpy / watson-framework

A Python 3 web app framework.
BSD 3-Clause "New" or "Revised" License
104 stars 12 forks source link

Python 3 compatible fix of Jinja2 template lookup #8

Closed moigagoo closed 10 years ago

moigagoo commented 10 years ago

Fixed Jinja2 template lookup compatibility with Windows.

Unlike the previous solution (https://github.com/watsonpy/watson-framework/pull/7) it is compatible with Python 3, but it's clearly a dirty hack.

simoncoulton commented 10 years ago

Still looking into this one (agreed that the .replace does seem like a dirty hack).

simoncoulton commented 10 years ago

Modified your .replace a little and is now updated in 2.2.7. Added you to the AUTHORS file as well.