From bda45164d50aedc6ac520828f522babba8ea899f Mon Sep 17 00:00:00 2001 From: h8d13 Date: Wed, 12 Aug 2026 14:17:49 +0200 Subject: [PATCH] idiomatic types Signed-off-by: h8d13 --- archinstall/lib/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 36c1a0ed..567b6f00 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -79,7 +79,7 @@ class Installer: disk_config: DiskLayoutConfiguration, base_packages: list[str] = [], kernels: list[str] | None = None, - firmware: list[str] | None = None, + firmware: list[str] = [], silent: bool = False, ): """ @@ -103,7 +103,7 @@ class Installer: self._base_packages.append(kernel) # Optional firmware is strapped with base so the blobs are in place before the initramfs is generated - self._base_packages.extend(firmware or []) + self._base_packages.extend(firmware) # If using accessibility tools in the live environment, append those to the packages list if accessibility_tools_in_use():