aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/app.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2014-12-03 11:17:31 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-12-03 15:40:57 -0600
commit753cfc3bb9326a8be2928f1289e908c3aa520649 (patch)
treefaf87199499eb65f1398cec5a84670d3381fcd7b /mediagoblin/app.py
parentb8e2ab2f5502b68da2c50e62542bf743e66b1958 (diff)
downloadmediagoblin-753cfc3bb9326a8be2928f1289e908c3aa520649.tar.lz
mediagoblin-753cfc3bb9326a8be2928f1289e908c3aa520649.tar.xz
mediagoblin-753cfc3bb9326a8be2928f1289e908c3aa520649.zip
Reforming get_jinja_env to make better use of the MediaGoblinApp
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r--mediagoblin/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py
index 00aa4fab..9eb2e8f2 100644
--- a/mediagoblin/app.py
+++ b/mediagoblin/app.py
@@ -227,7 +227,7 @@ class MediaGoblinApp(object):
# This should be moved over for certain, but how to deal with
# request.locale?
request.template_env = template.get_jinja_env(
- self.template_loader, request.locale)
+ self, self.template_loader, request.locale)
mg_request.setup_user_in_request(request)