Merge branch 'hide_adblock_message' of https://github.com/TomRiddle01/qutebrowser into TomRiddle01-hide_adblock_message
This commit is contained in:
commit
a585015d9d
@ -165,7 +165,8 @@ class HostBlocker:
|
|||||||
if not found:
|
if not found:
|
||||||
args = objreg.get('args')
|
args = objreg.get('args')
|
||||||
if (config.get('content', 'host-block-lists') is not None and
|
if (config.get('content', 'host-block-lists') is not None and
|
||||||
args.basedir is None):
|
args.basedir is None and
|
||||||
|
config.get('content', 'host-blocking-enabled')):
|
||||||
message.info("Run :adblock-update to get adblock lists.")
|
message.info("Run :adblock-update to get adblock lists.")
|
||||||
|
|
||||||
@cmdutils.register(instance='host-blocker')
|
@cmdutils.register(instance='host-blocker')
|
||||||
|
Loading…
Reference in New Issue
Block a user