fix: [DomClassifier] remove empty tld

This commit is contained in:
terrtia 2024-01-30 10:19:09 +01:00
parent 83e9efbf2d
commit 9555fa3b9d
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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: