Adding missing import
This commit is contained in:
parent
fda7a3fb09
commit
15ed757082
|
|
@ -1056,6 +1056,8 @@ class Installer:
|
||||||
return InstallationFile(self, filename, owner)
|
return InstallationFile(self, filename, owner)
|
||||||
|
|
||||||
def set_keyboard_language(self, language: str) -> bool:
|
def set_keyboard_language(self, language: str) -> bool:
|
||||||
|
from .systemd import localectl_status
|
||||||
|
|
||||||
log(f"Setting keyboard language to {language}", level=logging.INFO)
|
log(f"Setting keyboard language to {language}", level=logging.INFO)
|
||||||
if len(language.strip()):
|
if len(language.strip()):
|
||||||
if not verify_keyboard_layout(language):
|
if not verify_keyboard_layout(language):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue