summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 17:15:17 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 17:15:17 -0400
commit86bd3d5e4920fd6d57ac51ed3abf02d2f368f2a7 (patch)
tree7d2f4688eafc26e5ce821d576a4028e986b70f10 /main
parent7a8b5707b277f052b712c51574b0e28834b5a5f8 (diff)
parent5bfe138a86a98b52f0b6746b900af6431cd4d17a (diff)
Merge tag 'release_2014-11-02' into archweb-generic
Staff groups
Diffstat (limited to 'main')
-rw-r--r--main/templatetags/flags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/templatetags/flags.py b/main/templatetags/flags.py
index 22f524ca..5b356561 100644
--- a/main/templatetags/flags.py
+++ b/main/templatetags/flags.py
@@ -8,6 +8,6 @@ def country_flag(country):
if not country:
return ''
return '<span class="fam-flag fam-flag-%s" title="%s"></span> ' % (
- country.code.lower(), country.name)
+ unicode(country.code).lower(), unicode(country.name))
# vim: set ts=4 sw=4 et: