Skip to content
Browse files

Importing locale before using it is somewhat important

  • Loading branch information...
1 parent 6ffd22d commit c03fa30c1a95ee1b0038149a622dea80c6100108 @Deimos committed Mar 28, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 r2/r2/templates/redditheader.compact
  2. +1 −0 r2/r2/templates/redditheader.html
View
1 r2/r2/templates/redditheader.compact
@@ -20,6 +20,7 @@
## CondeNet, Inc. All Rights Reserved.
################################################################################
<%!
+ import locale
from r2.lib.template_helpers import static, s3_https_if_secure
from r2.models.subreddit import DefaultSR
View
1 r2/r2/templates/redditheader.html
@@ -21,6 +21,7 @@
################################################################################
<%!
+ import locale
from r2.lib.template_helpers import static, s3_https_if_secure, add_sr
from r2.models import Sub, FakeSubreddit
from r2.models.subreddit import DefaultSR

0 comments on commit c03fa30

Please sign in to comment.
Something went wrong with that request. Please try again.