Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/__init__.py')
-rw-r--r--archinstall/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/__init__.py b/archinstall/__init__.py
index 9afefa0e..cb95028b 100644
--- a/archinstall/__init__.py
+++ b/archinstall/__init__.py
@@ -204,7 +204,7 @@ def load_config():
if arguments.get('servers', None) is not None:
storage['_selected_servers'] = arguments.get('servers', None)
if nic_config := arguments.get('nic', {}):
- if nic_config.get('nic', '') == 'Copy ISO network configuration to installation':
+ if isinstance(nic_config,str) or nic_config.get('nic', '') == 'Copy ISO network configuration to installation':
arguments['nic'] = {'type': 'iso_config'}
elif 'NetworkManager' in nic_config:
arguments['nic'] = {'type': 'network_manager', 'NetworkManager': True}