diff options
author | Matt Weidner <matt.weidner@gmail.com> | 2017-07-21 13:32:55 -0500 |
---|---|---|
committer | Matt Weidner <matt.weidner@gmail.com> | 2017-07-27 21:11:37 -0500 |
commit | ff9476eaaa083b5ba51c1c1619d4ef6ea57d1907 (patch) | |
tree | 9ecabc881d24b8eb5d0c4b512d326b8d4710bd44 | |
parent | 7a28b1f15cc934af780591c30cdd4264dab17a33 (diff) | |
download | mitmproxy-ff9476eaaa083b5ba51c1c1619d4ef6ea57d1907.tar.gz mitmproxy-ff9476eaaa083b5ba51c1c1619d4ef6ea57d1907.tar.bz2 mitmproxy-ff9476eaaa083b5ba51c1c1619d4ef6ea57d1907.zip |
Fixed boolean evaluation syntax inconsistency
-rw-r--r-- | mitmproxy/addons/intercept.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/addons/intercept.py b/mitmproxy/addons/intercept.py index bac07a91..9e1a283e 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 |