From 25b976d948ecf073a3d746fe134e6b7cd0c3008c Mon Sep 17 00:00:00 2001 From: cuu Date: Thu, 9 May 2019 20:58:31 +0800 Subject: [PATCH] wifi_list bug fix --- Menu/GameShell/10_Settings/Wifi/wifi_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Menu/GameShell/10_Settings/Wifi/wifi_list.py b/Menu/GameShell/10_Settings/Wifi/wifi_list.py index 4342787..daf9bf7 100644 --- a/Menu/GameShell/10_Settings/Wifi/wifi_list.py +++ b/Menu/GameShell/10_Settings/Wifi/wifi_list.py @@ -621,8 +621,8 @@ class WifiList(Page): for i in wicd_wirelss_encrypt_pwd: if "preshared_key" in i: if i["preshared_key"] != None: - if len(i["preshared_key"]) > 0: - thepass = i["preshared_key"] + if len(str(i["preshared_key"])) > 0: + thepass = str(i["preshared_key"]) break myvars.PasswordPage.SetPassword(thepass)