diff --git a/wicd/wnettools.py b/wicd/wnettools.py index 0f7f0d4..4afc034 100644 --- a/wicd/wnettools.py +++ b/wicd/wnettools.py @@ -1255,7 +1255,7 @@ class BaseWirelessInterface(BaseInterface): # We (well, DBus) don't support ESSIDs with null bytes in it. # From some bugreports, it seems like some APs transmit the "hidden" # essid as NULL bytes. Let's strip them off. - ap['essid'].replace('\x00', '') + ap['essid'] = ap['essid'].replace('\x00', '') if ap['essid'] in ['Hidden', '', "", None]: print 'hidden'