Permalink
Browse files

Whoops. Forgot to use the new relpath. #30.

  • Loading branch information...
ralphbean committed Jun 18, 2012
1 parent f293376 commit f308bef9232817c1edf072c8370ef823e5a481da
Showing with 1 addition and 1 deletion.
  1. +1 −1 tw2/core/templating.py
@@ -135,7 +135,7 @@ def get_render_callable(engine_name, displays_on, src, filename=None):
args = dict(text=src)
if filename:
args['filename'] = os.path.relpath(filename, directory)
args['filename'] = relpath(filename, directory)
from mako.lookup import TemplateLookup
args['lookup'] = TemplateLookup(
directories=[directory])

0 comments on commit f308bef

Please sign in to comment.