Merge branch 'TomRiddle01-hide_adblock_message'
This commit is contained in:
commit
0e56cff702
@ -219,6 +219,7 @@ Contributors, sorted by the number of commits in descending order:
|
||||
* rsteube
|
||||
* neeasade
|
||||
* jnphilipp
|
||||
* Yannis Rohloff
|
||||
* Tobias Patzl
|
||||
* Stefan Tatschner
|
||||
* Samuel Loury
|
||||
|
@ -165,7 +165,8 @@ class HostBlocker:
|
||||
if not found:
|
||||
args = objreg.get('args')
|
||||
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.")
|
||||
|
||||
@cmdutils.register(instance='host-blocker')
|
||||
|
Loading…
Reference in New Issue
Block a user