Forgot self in a parameter

This commit is contained in:
Anton Hvornum 2020-09-01 10:36:47 +02:00
parent 677533f765
commit d765763e81
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class Installer():
o = b''.join(sys_command(f"/usr/bin/arch-chroot {self.mountpoint} sh -c \"echo '{user}:{password}' | chpasswd\""))
pass
def set_keyboard_language(language):
def set_keyboard_language(self, language):
with open(f'{self.mountpoint}/etc/vconsole.conf', 'w') as vconsole:
vconsole.write(f'KEYMAP={language}\n')
vconsole.write(f'FONT=lat9w-16\n')