_lists, not lists

This commit is contained in:
jesopo 2020-08-07 16:37:56 +00:00
parent 00e7d24388
commit e4ad911511

View file

@ -18,7 +18,7 @@ class Module(ModuleManager.BaseModule):
if hostname in default_lists:
lists.insert(0, default_lists[hostname])
else:
lists.insert(0, lists.DNSBL(hostname))
lists.insert(0, _lists.DNSBL(hostname))
lists = lists or list(default_lists.values())