mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Fixed boolean evaluation syntax inconsistency
This commit is contained in:
parent
7a28b1f15c
commit
ff9476eaaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user