diff options
author | Ander Punnar <ander@kvlt.ee> | 2021-07-19 20:50:25 +0300 |
---|---|---|
committer | Ander Punnar <ander@kvlt.ee> | 2021-07-19 20:50:25 +0300 |
commit | eb57af8c2c636ac9ab32c461bcb90de9604bbafa (patch) | |
tree | 93fd773c8921c7457f9e14ec9b4a4840110d9ce9 /qutebrowser/components | |
parent | 38ec7f61c854bb1c89cd7aadcc93eff87cc70dd6 (diff) | |
download | qutebrowser-eb57af8c2c636ac9ab32c461bcb90de9604bbafa.tar.gz qutebrowser-eb57af8c2c636ac9ab32c461bcb90de9604bbafa.zip |
fix pylint C0301
Diffstat (limited to 'qutebrowser/components')
-rw-r--r-- | qutebrowser/components/hostblock.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qutebrowser/components/hostblock.py b/qutebrowser/components/hostblock.py index 3cdd47223..b9e01997a 100644 --- a/qutebrowser/components/hostblock.py +++ b/qutebrowser/components/hostblock.py @@ -134,7 +134,8 @@ class HostBlocker: if config.get("content.blocking.hosts.block_subdomains"): return any( - hostname in self._blocked_hosts or hostname in self._config_blocked_hosts + hostname in self._blocked_hosts \ + or hostname in self._config_blocked_hosts for hostname in urlutils.widened_hostnames(host) ) else: |