watsonpy / watson-framework

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

Fixed Jinja2 template lookup compatibilty with Windows. #7

Closed moigagoo closed 10 years ago

moigagoo commented 10 years ago

I've added explicit conversion to POSIX path for Jinja2 renderer.

Note that I use pathlib's Path and as_posix(), which are available only in Python 3.4.