Adding missing import

This commit is contained in:
Anton Hvornum 2022-05-15 21:59:35 +02:00
parent fda7a3fb09
commit 15ed757082
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 2 additions and 0 deletions

View File

@ -1056,6 +1056,8 @@ class Installer:
return InstallationFile(self, filename, owner)
def set_keyboard_language(self, language: str) -> bool:
from .systemd import localectl_status
log(f"Setting keyboard language to {language}", level=logging.INFO)
if len(language.strip()):
if not verify_keyboard_layout(language):