mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Change default language from 1033 to en_US
The integer was causing the .replace('_', '-') function to fail
This commit is contained in:
parent
54ff3fe9f8
commit
7656331fd2
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ try:
|
|||
# Default to `en-US` (1033)
|
||||
windll = ctypes.windll.kernel32
|
||||
INSTALL_LANGUAGE = locale.windows_locale.get(
|
||||
windll.GetSystemDefaultUILanguage(), 1033).replace('_', '-')
|
||||
windll.GetSystemDefaultUILanguage(), 'en_US').replace('_', '-')
|
||||
except ImportError:
|
||||
HAS_WINDOWS_MODULES = False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue