mirror of
https://github.com/adulau/DomainClassifier.git
synced 2024-12-11 19:27:21 +00:00
fix: [DomClassifier] remove empty tld
This commit is contained in:
parent
83e9efbf2d
commit
9555fa3b9d
1 changed files with 2 additions and 1 deletions
|
@ -123,6 +123,7 @@ class Extract:
|
|||
f.close()
|
||||
tlds = tlds.split("\n")
|
||||
for tld in tlds:
|
||||
if tld:
|
||||
self.listtld.append(tld.lower())
|
||||
|
||||
def __listtld(self):
|
||||
|
|
Loading…
Reference in a new issue