This commit is contained in:
Daniel Girtler 2025-04-08 16:45:47 +10:00 committed by GitHub
parent 00e87eb15f
commit a3fc658c90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ class LocaleConfiguration:
def default() -> 'LocaleConfiguration':
layout = get_kb_layout()
if layout == "":
return LocaleConfiguration('us', 'en_US', 'UTF-8')
return LocaleConfiguration(layout, 'en_US', 'UTF-8')
layout = 'us'
return LocaleConfiguration(layout, 'en_US.UTF-8', 'UTF-8')
def json(self) -> dict[str, str]:
return {