Fixed TLD truncation issue

Fixed TLD truncation issue
pull/78/head
Robert Nixon 2018-08-20 09:13:38 -04:00 committed by GitHub
parent e333db3df2
commit 5fbec29345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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