Skip to content
Snippets Groups Projects
Commit 4aa00ae6 authored by Amit Mendapara's avatar Amit Mendapara
Browse files

[FIX] create db with non-english locale with web client (unicode problem).

lp bug: https://launchpad.net/bugs/326138 fixed

bzr revid: ame@tinyerp.com-20090211110145-54l9jno1a6yp3sd6
parent c5943171
No related merge requests found
......@@ -527,7 +527,7 @@ def trans_load_data(db_name, fileobj, fileformat, lang, strict=False, lang_name=
fail = True
for ln in get_locales(lang):
try:
locale.setlocale(locale.LC_ALL, ln)
locale.setlocale(locale.LC_ALL, str(ln))
fail = False
break
except locale.Error:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment