fixed line 249

This commit is contained in:
advaithm 2021-04-14 14:21:53 +05:30
parent 8e9a09a8ff
commit 78a9f0077e
No known key found for this signature in database
GPG Key ID: E557E45E6DAFFC0C
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ def perform_installation(mountpoint):
if installation.minimal_installation():
installation.set_hostname(archinstall.arguments['hostname'])
if archinstall.arguments['mirror-region'] != None:
if archinstall.arguments['mirror-region'].get("mirror",None)!= None:
installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium
installation.set_keyboard_language(archinstall.arguments['keyboard-language'])
installation.add_bootloader()