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