kolypto / j2cli

Jinja2 Command-Line Tool, reworked

Home Page:http://pypi.python.org/pypi/j2cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CWD is wrongly set

blaggacao opened this issue · comments

os.getcwd(),

This is not correct.

The only usage of cwd is in FilePathLoader which has to deal with relative (to the template) paths.
This should not be called cwd and instead adopt the dirname of the template file.