Fix is_whitelisted_domain docstring
This commit is contained in:
parent
fc806525a2
commit
dd679c6c14
@ -54,7 +54,7 @@ def is_whitelisted_domain(host):
|
|||||||
"""Check if the given host is on the adblock whitelist.
|
"""Check if the given host is on the adblock whitelist.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
host: The host as given by the adblocker as string.
|
host: The host of the request as string.
|
||||||
"""
|
"""
|
||||||
whitelist = config.get('content', 'host-blocking-whitelist')
|
whitelist = config.get('content', 'host-blocking-whitelist')
|
||||||
if whitelist is None:
|
if whitelist is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user