Added extra comment for clarity
This commit is contained in:
parent
770a95c101
commit
1961980b02
@ -66,7 +66,7 @@ def is_whitelisted_host(url):
|
|||||||
"""Check if the given url is on the adblock whitelist.
|
"""Check if the given url is on the adblock whitelist.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
url: The url to check.
|
url: The url to check as a string.
|
||||||
"""
|
"""
|
||||||
for pattern in config.val.content.host_blocking.whitelist:
|
for pattern in config.val.content.host_blocking.whitelist:
|
||||||
if urlmatch.URLPattern(pattern).matches(url):
|
if urlmatch.URLPattern(pattern).matches(url):
|
||||||
|
Loading…
Reference in New Issue
Block a user