mirror of
https://github.com/adulau/DomainClassifier.git
synced 2024-12-22 00:25:58 +00:00
commit
d3f8129399
1 changed files with 2 additions and 1 deletions
|
@ -123,6 +123,7 @@ class Extract:
|
||||||
f.close()
|
f.close()
|
||||||
tlds = tlds.split("\n")
|
tlds = tlds.split("\n")
|
||||||
for tld in tlds:
|
for tld in tlds:
|
||||||
|
if tld:
|
||||||
self.listtld.append(tld.lower())
|
self.listtld.append(tld.lower())
|
||||||
|
|
||||||
def __listtld(self):
|
def __listtld(self):
|
||||||
|
|
Loading…
Reference in a new issue