From c0eb10e4fbf1c762a69f7f9d1267e3fd16c55546 Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Tue, 11 Oct 2005 09:21:13 +0000 Subject: [PATCH] i18n: fixed syntax error git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@830 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/utils/translation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/utils/translation.py b/django/utils/translation.py index f4cef87999..aafb5305e4 100644 --- a/django/utils/translation.py +++ b/django/utils/translation.py @@ -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