From 85a0cacb28b84005d5d034a53973153d49214723 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 21 Oct 2022 18:29:43 +0200 Subject: [proxy] rework CSP manipulation --- src/hydrilla/proxy/state_impl/base.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/hydrilla/proxy/state_impl') diff --git a/src/hydrilla/proxy/state_impl/base.py b/src/hydrilla/proxy/state_impl/base.py index df3287b..7437d52 100644 --- a/src/hydrilla/proxy/state_impl/base.py +++ b/src/hydrilla/proxy/state_impl/base.py @@ -210,10 +210,7 @@ class HaketiloStateWithFields(st.HaketiloState): best_priority = policy.priority best_policy = policy except Exception as e: - return policies.ErrorBlockPolicy( - builtin = True, - error = e - ) + return policies.ErrorBlockPolicy(error=e) if best_policy is not None: return best_policy -- cgit v1.2.3