[master 1/1] network: compare with ssid bytes, not str

rvykydal installerbot-noreply at redhat.com
Thu Aug 13 13:05:03 UTC 2015


From: Radek Vykydal <rvykydal at redhat.com>

followup of commit cf5bf6cfd65d0af06b9ef690016af87af9099f57
---
 pyanaconda/ui/gui/spokes/network.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 4551e00..a1f34af 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -887,7 +887,7 @@ def _refresh_ap(self, dev_cfg, state=None):
             if active_ap:
                 combobox = self.builder.get_object("combobox_wireless_network_name")
                 for i in combobox.get_model():
-                    if i[1] == active_ap.get_ssid():
+                    if i[6] == active_ap.get_ssid():
                         combobox.set_active_iter(i.iter)
                         self.selected_ssid = active_ap.get_ssid()
                         break


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/042311435df91b1a4ebcc8975dce6dc6d7acc7bb


More information about the anaconda-patches mailing list