chg: [tools] fix cisco script

pull/97/head
Alexandre Dulaunoy 2019-03-09 17:23:42 +01:00
parent cf4819fb48
commit 58db3ef4b0
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@ cisco_warninglist['list'] = []
for site in top1000:
v = str(site).split(',')[1]
cisco_warninglist['list'].append(v[:-5])
cisco_warninglist['list'].append(v.rstrip())
cisco_warninglist['list'] = sorted(set(cisco_warninglist['list']))
print(json.dumps(cisco_warninglist))