diff --git a/mitmproxy/addons/intercept.py b/mitmproxy/addons/intercept.py index bac07a91c..9e1a283eb 100644 --- a/mitmproxy/addons/intercept.py +++ b/mitmproxy/addons/intercept.py @@ -26,7 +26,7 @@ class Intercept: self.filt(f), not f.request.is_replay, ]) - if should_intercept and ctx.options.intercept_active == True: + if should_intercept and ctx.options.intercept_active: f.intercept() # Handlers