1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

i18n: fixed syntax error

git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Georg Bauer 2005-10-11 09:21:13 +00:00
parent 588b2cb161
commit c0eb10e4fb

View File

@ -76,7 +76,7 @@ class DjangoTranslation23(DjangoTranslation):
def gettext(self, msgid):
res = DjangoTranslation.gettext(self, msgid)
if self.charset() != self.django_output_charset
if self.charset() != self.django_output_charset:
res = res.decode(self.charset()).encode(self.django_output_charset)
return res