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