fix regression with LC_MESSAGES missing in locale

This commit is contained in:
Morten Enemark Lund 2020-08-06 11:41:15 +02:00
parent c40c9de9ad
commit ffdb999a2e

View file

@ -990,7 +990,7 @@ def DEFAULT_VARS():
always_false,
locale_convert("LC_MESSAGES"),
ensure_string,
locale.setlocale(locale.LC_MESSAGES),
locale.setlocale(locale.LC_MESSAGES) if hasattr(locale, "LC_MESSAGES") else "",
),
"LC_MONETARY": Var(
always_false,