Skip to content

Commit c682199

Browse files
committed
hidden ssid
1 parent 0d9e172 commit c682199

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mozloc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ def get_nmcli():
3636
names=['ssid','macAddress','signalStrength'])
3737
# %% optout
3838
dat = dat[~dat['ssid'].str.endswith('_nomap')]
39+
# %% cleanup
40+
dat['ssid'] = dat['ssid'].str.replace('nan','')
3941
dat['macAddress'] = dat['macAddress'].str.replace(r'\\:',':')
4042
# %% JSON
4143
jdat = dat.to_json(orient='records')

0 commit comments

Comments
 (0)