flake8 fails fixed
This commit is contained in:
parent
5d5652a24b
commit
7984643365
@ -154,7 +154,6 @@ class HostBlocker:
|
||||
|
||||
def read_hosts(self):
|
||||
"""Read hosts from the existing blocked-hosts file."""
|
||||
|
||||
self._blocked_hosts = set()
|
||||
|
||||
self._read_hosts_file(self._config_hosts_file,
|
||||
@ -166,7 +165,7 @@ class HostBlocker:
|
||||
if not found:
|
||||
args = objreg.get('args')
|
||||
if (config.get('content', 'host-block-lists') is not None and
|
||||
args.basedir is None and
|
||||
args.basedir is None and
|
||||
config.get('content', 'host-blocking-enabled')):
|
||||
message.info("Run :adblock-update to get adblock lists.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user