diff --git a/server_environment/system_info.py b/server_environment/system_info.py index 00668f8..329920a 100644 --- a/server_environment/system_info.py +++ b/server_environment/system_info.py @@ -29,7 +29,7 @@ def get_server_environment(): except Exception: rev_id = "Can not retrieve revison from git or bzr" - os_lang = ".".join([x for x in locale.getdefaultlocale() if x]) + os_lang = ".".join([x for x in locale.getlocale() if x]) if not os_lang: os_lang = "NOT SET" if os.name == "posix" and platform.system() == "Linux":