Permalink
Browse files

fixed

  • Loading branch information...
1 parent 68eea7d commit a17b8845e4135c2e7cae227488458b908a6c9c6d @aodag committed May 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyramid/mako_templating.py
@@ -63,7 +63,7 @@ def get_template(self, uri):
pname, path = resolve_asset_spec(uri)
srcfile = abspath_from_asset_spec(path, pname)
if os.path.isfile(srcfile):
- return self._load(srcfile, adjusted)
+ return self._load(srcfile, uri)
raise exceptions.TopLevelLookupException(
"Can not locate template for uri %r" % uri)
return TemplateLookup.get_template(self, uri)

0 comments on commit a17b884

Please sign in to comment.