diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-11 09:21:13 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-11 09:21:13 +0000 |
| commit | c0eb10e4fbf1c762a69f7f9d1267e3fd16c55546 (patch) | |
| tree | a3964e9e25126ae60c750500f159b751edcd12da /django/utils | |
| parent | 588b2cb161f867895d5646f34cd5b56dca0bcf02 (diff) | |
i18n: fixed syntax error
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/translation.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
