Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/models
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/models')
-rw-r--r--archinstall/lib/models/network_configuration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/models/network_configuration.py b/archinstall/lib/models/network_configuration.py
index 4b57da00..eb4c25ee 100644
--- a/archinstall/lib/models/network_configuration.py
+++ b/archinstall/lib/models/network_configuration.py
@@ -4,8 +4,6 @@ from dataclasses import dataclass
from enum import Enum
from typing import List, Optional, Dict
-from ... import log
-
class NicType(str, Enum):
ISO = "iso"
@@ -41,6 +39,8 @@ class NetworkConfiguration:
@classmethod
def parse_arguments(cls, config: Union[str,Dict[str, str]]) -> Optional["NetworkConfiguration"]:
+ from ... import log
+
nic_type = config.get('type', None)
if not nic_type: