summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 21:55:11 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 21:55:11 -0400
commit29ffe1b85ba4bf077d529603982d5bd810c68a1f (patch)
tree9bb2ea435ac5b7554bfc555b3c3877ea26e43087 /main
parentce1f17e5104d44fa833090c47dd76466a2d7f743 (diff)
parent86bd3d5e4920fd6d57ac51ed3abf02d2f368f2a7 (diff)
Merge branch 'archweb-generic'
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: