Added extra comment for clarity

This commit is contained in:
exw4938 2018-09-16 19:20:33 -04:00 committed by GitHub
parent 770a95c101
commit 1961980b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):