Removed third-parties from easyprivacy

This commit is contained in:
Geoffrey Frogeye 2019-12-05 01:19:10 +01:00
vecāks 188a8f7455
revīzija 1c20963ffd
Parakstījis: geoffrey
GPG atslēgas ID: D8A7ECA00A8CD3DD
1 mainīti faili ar 2 papildinājumiem un 3 dzēšanām

Parādīt failu

@ -14,9 +14,8 @@ import abp.filters
def get_domains(rule: abp.filters.parser.Filter) -> typing.Iterable[str]:
for key, val in rule.options:
if key not in ('third-party',):
return
if rule.options:
return
selector_type = rule.selector['type']
selector_value = rule.selector['value']
if selector_type == 'url-pattern' \