Locale: Fix bug with last patch

This commit is contained in:
Worros 2010-09-22 16:40:31 +08:00
parent 2c8f219c50
commit ee5e80894c

View File

@ -35,7 +35,7 @@ import Exceptions
import locale
(lang, charset) = locale.getdefaultlocale()
if lang = None or lang == "en":
if lang == None or lang == "en":
def _(string): return string
else:
import gettext