diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-09-12 13:55:35 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-12 13:59:14 +0200 |
commit | 7f1c2a61135a2e21e960fa5801f3ae852bfb24ad (patch) | |
tree | 1361db0aae4cbbae0c94ebaa6b88ac7a49b3d8e0 /src/hydrilla/proxy/policies/rule.py | |
parent | ce5d42ad784f42a6b51c60cc4fcfe9c6c04d7729 (diff) | |
download | haketilo-hydrilla-7f1c2a61135a2e21e960fa5801f3ae852bfb24ad.tar.gz haketilo-hydrilla-7f1c2a61135a2e21e960fa5801f3ae852bfb24ad.zip |
[proxy] Add support for script blocking/allowing rules
Diffstat (limited to 'src/hydrilla/proxy/policies/rule.py')
-rw-r--r-- | src/hydrilla/proxy/policies/rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/policies/rule.py b/src/hydrilla/proxy/policies/rule.py index bcb110e..84b750b 100644 --- a/src/hydrilla/proxy/policies/rule.py +++ b/src/hydrilla/proxy/policies/rule.py @@ -109,7 +109,7 @@ class RulePolicyFactory(base.PolicyFactory): def __lt__(self, other: base.PolicyFactory) -> bool: """....""" - if type(other) is type(self): + if type(other) is not type(self): return super().__lt__(other) assert isinstance(other, RulePolicyFactory) |