From 14ded81f8e80f1357d468ac01011391cb37fb301 Mon Sep 17 00:00:00 2001 From: Softer Date: Wed, 3 Jun 2026 19:27:42 +0300 Subject: [PATCH] Fix WiFi network selection in TUI prompt TableSelectionScreen returns the selected network in Result._item, but the check on line 136 only tested Result._data (always None for single-select). This caused every selection to fall through to the "No wifi networks found" error path. Fixes #4564 --- archinstall/lib/network/wifi_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/network/wifi_handler.py b/archinstall/lib/network/wifi_handler.py index b5590343..889b131f 100644 --- a/archinstall/lib/network/wifi_handler.py +++ b/archinstall/lib/network/wifi_handler.py @@ -133,7 +133,7 @@ class WifiHandler(InstanceRunnable[bool]): match result.type_: case ResultType.Selection: - if not result.has_data(): + if not result.has_value() and not result.has_data(): debug('No networks found') await NotifyScreen(header=tr('No wifi networks found')).run() tui.exit(Result.false())